Instance Property

lifetime

The lifetime of the cell, in seconds. Animatable.

Declaration

var lifetime: Float { get set }

Discussion

The lifetime of the cell will vary by a random amount with the range specified by lifetimeRange.

The default value of this property is 0.0.

See Also

Setting Emitter Cell Temporal Attributes

var lifetimeRange: Float

The mean value by which the lifetime of the cell can vary. Animatable.

var birthRate: Float

The number of emitted objects created every second. Animatable.

var scaleSpeed: CGFloat

The speed at which the scale changes over the lifetime of the cell. Animatable.

var velocity: CGFloat

The initial velocity of the cell. Animatable.

var velocityRange: CGFloat

The amount by which the velocity of the cell can vary. Animatable.

var xAcceleration: CGFloat

The x component of an acceleration vector applied to cell.

var yAcceleration: CGFloat

The y component of an acceleration vector applied to cell.

var zAcceleration: CGFloat

The z component of an acceleration vector applied to cell.