Contents

lifetime

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

Declaration

var lifetime: Float { get set }

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