Instance Property

preservesDepth

Defines whether the layer flattens the particles into its plane.

Declaration

@property BOOL preservesDepth;

Discussion

If YES, the layer renders its particles as if they directly inhabit the three-dimensional coordinate space of the layer’s superlayer. When enabled, the effect of the layer’s filters, backgroundFilters, and shadow related properties is undefined.

Default is NO.

See Also

Emitter Cell Attribute Multipliers

scale

Defines a multiplier applied to the cell-defined particle scale.

seed

Specifies the seed used to initialize the random number generator.

spin

Defines a multiplier applied to the cell-defined particle spin. Animatable.

velocity

Defines a multiplier applied to the cell-defined particle velocity. Animatable.

birthRate

Defines a multiplier that is applied to the cell-defined birth rate. Animatable

emitterMode

Specifies the emitter mode.

lifetime

Defines a multiplier applied to the cell-defined lifetime range when particles are created. Animatable.