Instance Property

spin

The rotational velocity, measured in radians per second, to apply to the cell. Animatable.

Declaration

var spin: CGFloat { get set }

Discussion

The spin of the cell will vary by a random amount with the range specified by spinRange.

The default value of this property is 0.0.

See Also

Setting Emitter Cell Motion Attributes

var spinRange: CGFloat

The amount by which the spin of the cell can vary over its lifetime. Animatable.

var emissionLatitude: CGFloat

The latitudinal orientation of the emission angle. Animatable.

var emissionLongitude: CGFloat

The longitudinal orientation of the emission angle. Animatable.

var emissionRange: CGFloat

The angle, in radians, defining a cone around the emission angle. Animatable.