Contents

rotationAxis

The particle’s axis of rotation, expressed as a vector in the particle’s local coordinate space.

Declaration

static let rotationAxis: SCNParticleSystem.ParticleProperty

Discussion

This property’s value is a three-component vector (an NSValue object containing an SCNVector3 value for particle property controllers, or an array of three float values for particle event or modifier blocks).

The particle system’s orientationMode determines the initial rotation axis for each particle. The angle property defines the particle’s rotation about this axis.

See Also

Type Properties