Contents

orientationMode

The mode defining whether and how particles may rotate.

Declaration

var orientationMode: SCNParticleOrientationMode { get set }

Discussion

A particle’s angle (or orientation) is independent from its direction of motion. For example, a smoke effect may use a small image of a cloud for each particle, which stays at the same angle as the smoke rises, but a snow effect may use an image that flips and rotates as each snowflake falls.

For possible orientation modes, see SCNParticleOrientationMode. The default value is SCNParticleOrientationMode.billboardScreenAligned.

See Also

Managing Particle Rendering