A particle represents one of the element emitted by a particle system. This is mainly define by its coordinates, direction, velocity and age.
The current age of the particle.
The current angle of the particle.
Defines how fast is the angle changing.
Defines the cell index used by the particle to be rendered from a sprite.
The color of the particle.
The color change of the particle per step.
The world direction of the particle in the scene.
Defines how long will the life of the particle be.
particleSystem the particle system the particle belongs to.
The world position of the particle in the scene.
The current size of the particle.
Defines how the sprite cell index is updated for the particle. This is defined as a callback.
Copy the properties of particle to another one.
the particle to copy the information to.
Generated using TypeDoc