Optionalproperties: Record<string, unknown>OptionalhasOptionalindexOptionaltargetAn emitter's parent is the System it was added to (a particle's parent is
its emitter, hence the inherited parent field is narrowed here).
Adds a particle initializer to the emitter.
Adds multiple particle initializers to the emitter.
Adds the event listener for the EMITTER_DEAD event.
Creates a particle by retreiving one from the pool and setting it up with the supplied initializer and behaviour.
Kills the emitter.
Proxy method for the internal event dispatcher's dispatchEvent method.
Sets the total number of times the emitter should emit particles as well as the emitter's life. Also intializes the emitter rate. This enables the emitter to emit particles.
Experimental emit method that is designed to be called from the System.emit method.
Generates new particles.
Gets the particle's current direction.
Runs the integration algorithm on the emitter and all particles.
Removes all behaviours from the emitter.
Removes all behaviours from the emitter.
Removes all initializers.
Kills all of the emitter's particles.
Removes the behaviour from the emitter's behaviours array.
Removes the behaviour from the emitter's behaviours array.
Removes an initializer from the emitter's initializers array.
Resets the particle's default properties and clears its position, velocity, acceleration, color and rotation.
Sets the emitter's particle initializers.
Sets the life of the emitter.
Sets the position of the emitter.
Sets the rotation of the emitter.
Sets the total emit times for the emitter.
Sets up a particle by running all initializers on it and setting its behaviours. Also adds the particle to this.particles.
Optionalindex: numberStops the emitter from emitting particles.
Updates the emitter according to the time passed by calling the generate and integrate methods.
Updates the emitter's emitter behaviours.
Emitters are the System engine's particle factories. They cause particles to be rendered by emitting them, and store all particle initializers and behaviours.