Enumeration

SCNParticleSortingMode

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

Declaration

typedef enum SCNParticleSortingMode : NSInteger {
    ...
} SCNParticleSortingMode;

Topics

Constants

SCNParticleSortingModeNone

Particles are not sorted; they may be rendered in any order.

SCNParticleSortingModeProjectedDepth

Particles farther from the point of view (as measured using projected depth) are rendered before closer particles.

SCNParticleSortingModeDistance

Particles farther from the point of view (as measured using distance from the camera in scene space) are rendered before closer particles.

SCNParticleSortingModeOldestFirst

Particles emitted earlier are rendered before particles emitted more recently.

SCNParticleSortingModeYoungestFirst

Particles emitted more recently are rendered before particles emitted earlier.

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.

orientationMode

The mode defining whether and how particles may rotate.

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.

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.