Instance Property

velocity

The initial velocity of the cell. Animatable.

Declaration

var velocity: CGFloat { get set }

Discussion

The velocity of the cell will vary by a random amount within the range specified by velocityRange.

See Also

Setting Emitter Cell Temporal Attributes

var lifetime: Float

The lifetime of the cell, in seconds. Animatable.

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 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.