Optional
Internal
_rendererwhether the ParticleSystem should be automatically disposed when it finishes emitting particles.
a list of particle behaviors in the particle system
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
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.
get which blending to use.
Set which blending to use.
get whether the particle texture blends tile transitions
Set whether the particle texture blends tile transitions
Get the instancing geometry of the particle system.
Set the instancing geometry of the particle system.
layers control visibility of the object. currently if you change the layers setting, you need manually set this.neededToUpdateRender = true;
Get the material of the particle system
Set the material of the particle system It will rebuild the material
Get the render mode of the particle system. RenderMode
Set the render mode of the particle system. RenderMode
get the render order of the particle system in render pipeline. the higher the value, the later the particle system is rendered.
set the render order of the particle system in render pipeline. the higher the value, the later the particle system is rendered.
Get whether the particle system uses soft particles. Soft particles are particles that fade out when they are close to geometry.
Set whether the particle system uses soft particles. Soft particles are particles that fade out when they are close to geometry.
get the texture of the particle system
Set the texture of the particle system It will rebuild the material
get the current time of the playback of the particle system
set the time of the playback of the particle system
Get the number of horizontal tiles in the texture.
Set the number of horizontal tiles in the texture.
Get the number of vertical tiles in the texture.
Set the number of vertical tiles in the texture.
Clone the particle system
Emit particles
the duration of the frame
the state of the emission
the matrix of the emitter
Remove a behavior from the particle system
output the particle system to JSON
serialization meta data
serialization options
Static
fromJSONCreate a ParticleSystem from JSON
the JSON data
serialization meta data
the dependencies of the particle system
ParticleSystem represents a system that generates and controls particles with similar attributes.