Instance Property

orientationMode

The mode defining whether and how particles may rotate.

Declaration

@property(nonatomic) SCNParticleOrientationMode orientationMode;

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

See Also

Managing Particle Rendering

blendMode

The blending mode for compositing particle images into the rendered scene.

SCNParticleBlendMode

Options for combining source and destination pixel colors when compositing particles during rendering, used by the blendMode property.

SCNParticleOrientationMode

Options for restricting the orientation of particles, used by the orientationMode property.

sortingMode

The mode defining the order in which SceneKit renders the system’s particles.

SCNParticleSortingMode

Options for the rendering order of particles, used by the sortingMode property.

lightingEnabled

A Boolean value that determines whether SceneKit applies lighting to particle images when rendering.

blackPassEnabled

A Boolean value that determines whether SceneKit renders particles in black before rendering the particle image.