Optional
Internal
_rendererDetermines whether the ParticleSystem should be automatically disposed when it finishes emitting particles.
The duration of the ParticleSystem in seconds.
An array of burst parameters for the ParticleSystem.
The value generator or function value generator for the emission rate of particles over distance.
The value generator or function value generator for the emission rate of particles over time.
the emitter object that should be added in the scene.
the shape of the emitter.
Determines whether the ParticleSystem should loop, i.e., restart emitting particles after the duration of the particle system is expired.
whether needs to update renderer settings for the batch renderer
Determines whether the ParticleSystem is only used by other ParticleSystems.
The number of particles in the ParticleSystem.
All the particles in the ParticleSystem.
Determines whether the ParticleSystem is paused.
Determines whether a looping ParticleSystem should prewarm, i.e., the Particle System looks like it has already simulated for one loop when first becoming visible.
The renderer emitter settings for the ParticleSystem.
the VFX renderer settings for the batch renderer
a list of particle simulations in the particle system
The color generator or function color generator for the starting color of particles.
The value generator or function value generator for the starting life of particles.
The value generator or function value generator or rotation generator for the starting rotation of particles.
The value generator or function value generator for the starting size of particles.
The value generator or function value generator for the starting speed of particles.
The value generator for the starting tile index of particles.
Determines whether the ParticleSystem is in world space or local space.
Static
fromJSON
ParticleSystem represents a system that generates and controls particles with similar attributes.