Instance Property

emitterCells

An optional array containing the sub-cells of this cell.

Declaration

@property(copy) NSArray<CAEmitterCell *> *emitterCells;

Discussion

When specified, each particle emitted by the cell acts as an emitter for each of the cell's sub-cells. The emission point is the current particle position and the emission angle is relative to the current direction of the particle.

The default value of this property is nil.

See Also

Providing Emitter Cell Content

contents

An object that provides the contents of the layer. Animatable.

contentsRect

A rectangle (in the unit coordinate space) that specifies the portion of contents that the receiver should draw. Animatable.