Instance Property

birthRate

The number of particles spawned during each emission period. Animatable.

Declaration

@property(nonatomic) CGFloat birthRate;

Discussion

The system emits this number of particles at a constant rate through the duration of the period specified by the emissionDuration property. A value of zero prevents the system from emitting particles, unless you randomize the birth rate with the birthRateVariation property.

The default value is 1.

You can animate changes to this property’s value. See Animating SceneKit Content.

See Also

Managing Particle Emission Timing

emissionDuration

The duration, in seconds, over which the system spawns new particles. Animatable.

emissionDurationVariation

The range, in seconds, of randomized emission duration values. Animatable.

idleDuration

The duration, in seconds, of periods when the system emits no particles. Animatable.

idleDurationVariation

The range, in seconds, of randomized idle duration values. Animatable.

loops

A Boolean value that determines whether the system repeats its emission and idle periods.

warmupDuration

The duration, in seconds, for which particles are spawned before the system is first rendered. Animatable.

birthRateVariation

The range of randomized particle birth rate values. Animatable.