Instance Property

numParticlesToEmit

The number of particles the emitter should emit before stopping.

Declaration

@property(nonatomic) NSUInteger numParticlesToEmit;

Discussion

The default value is 0, which indicates that emitter creates an endless stream of particles. If a non-zero value is provided, then the emitter stops generating particles after it has created the specified number of particles.

See Also

Controlling When Particles Are Created

- advanceSimulationTime:

Advances the emitter particle simulation.

- resetSimulation

Removes all existing particles and restarts the simulation.

particleBirthRate

The rate at which new particles are created.