Enumeration

SCNParticleBlendMode

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

Declaration

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

Topics

Constants

SCNParticleBlendModeAdditive

The source and destination colors are added together.

SCNParticleBlendModeSubtract

The source color is subtracted from the destination color.

SCNParticleBlendModeMultiply

The source color is multiplied by the destination color.

SCNParticleBlendModeScreen

The source color is added to the destination color times the inverted source color.

SCNParticleBlendModeAlpha

The source and destination colors are blended by multiplying the source alpha value.

SCNParticleBlendModeReplace

The source color replaces the destination color.

See Also

Managing Particle Rendering

blendMode

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

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.

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.