Instance Method


Removes all existing particles and restarts the simulation.


func resetSimulation()


Resetting the simulation clears the internal state of the simulation.

See Also

Controlling When Particles Are Created

func advanceSimulationTime(TimeInterval)

Advances the emitter particle simulation.

var particleBirthRate: CGFloat

The rate at which new particles are created.

var numParticlesToEmit: Int

The number of particles the emitter should emit before stopping.