Enumeration

SCNParticleBirthDirection

Options for the initial direction of each emitted particle, used by the birthDirection property.

Declaration

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

Topics

Constants

SCNParticleBirthDirectionConstant

The emitting direction is the same for all particles.

SCNParticleBirthDirectionSurfaceNormal

The emitting direction for each particle is along the surface normal vector at the point where the particle is emitted.

SCNParticleBirthDirectionRandom

SceneKit randomizes the emitting direction for each particle.

See Also

Managing Particle Emission Locations

emitterShape

The shape of the region of space where the system spawns new particles.

birthLocation

The possible locations for newly spawned particles, relative to the emitter shape.

SCNParticleBirthLocation

Options for the initial location of each emitted particle, used by the birthLocation property.

birthDirection

The possible initial directions for newly spawned particles, relative to the emitter shape.

emittingDirection

The initial direction for newly spawned particles. Animatable.

spreadingAngle

The range, in degrees, of randomized initial particle directions. Animatable.