Instance Property


The number of particles the emitter should emit before stopping.


@property(nonatomic) NSUInteger numParticlesToEmit;


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.


The rate at which new particles are created.