Enumeration

SCNParticleBirthLocation

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

Declaration

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

Overview

The emitterShape property determines the shape of the space in which new particles can be emitted, and the birthLocation property determines the locations of new particles relative to this shape.

To make a system’s particles emit from a single point, set the emitterShape property to nil (the default). In this case, SceneKit ignores the birthLocation property.

Topics

Constants

SCNParticleBirthLocationSurface

New particles can be created at any location on the surface of the emitter shape.

SCNParticleBirthLocationVolume

New particles can be created at any location within the volume of the emitter shape.

SCNParticleBirthLocationVertex

New particles can be created at only at the locations of the vertices in the emitter shape.

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.

birthDirection

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

SCNParticleBirthDirection

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

emittingDirection

The initial direction for newly spawned particles. Animatable.

spreadingAngle

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