Instance Property

lifetime

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

Declaration

@property float lifetime;

Discussion

Default value is 1.0.

By setting an emitter's lifetime to 0, you effectively stop particle emission: all new particles created have their lifetime set to 0 and are never rendered.

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.

preservesDepth

Defines whether the layer flattens the particles into its plane.