ConstructorOptions
Properties
An array of ParticleBurst, emitting bursts of particles at periodic times.
Sets the color of a particle for the duration of its particleLife. Default value - Color.WHITE
The number of particles to emit per second. Default value - 5
The particle emitter for this system. Default value - CircleEmitter(0.5)
The 4x4 transformation matrix that transforms the particle system emitter within the particle systems local coordinate system. Default value - Matrix4.IDENTITY
If set, overrides the minimumImageSize and maximumImageSize inputs that scale the particle image's dimensions in pixels. Default value - Cartesian2(1.0, 1.0)
Sets the maximum bound, width by height, below which to randomly scale the particle image's dimensions in pixels.
Sets the maximum mass of particles in kilograms. A particle's actual mass will be chosen as a random amount below this value.
Sets the maximum bound in seconds for the possible duration of a particle's life below which a particle's actual life will be randomly chosen.
Sets the maximum bound in meters per second below which a particle's actual speed will be randomly chosen.
Sets the minimum bound, width by height, above which to randomly scale the particle image's dimensions in pixels.
Sets the minimum bound for the mass of a particle in kilograms. A particle's actual mass will be chosen as a random amount above this value.
Sets the minimum bound in seconds for the possible duration of a particle's life above which a particle's actual life will be randomly chosen.
Sets the minimum bound in meters per second above which a particle's actual speed will be randomly chosen.
The 4x4 transformation matrix that transforms the particle system from model to world coordinates. Default value - Matrix4.IDENTITY
If set, overrides the minimumParticleLife and maximumParticleLife inputs with this value. Default value - 5.0
Sets if the size of particles is in meters or pixels. true
to size the particles in meters; otherwise, the size is in pixels.
The color of the particle at the beginning of its life.
The initial scale to apply to the image of the particle at the beginning of its life.
The callback function to be called each frame to update a particle.