Global Variable

SCNParticlePropertyRotationAxis

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

Declaration

const SCNParticleProperty SCNParticlePropertyRotationAxis;

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 SCNParticlePropertyAngle property defines the particle’s rotation about this axis.