Particles¶
Particles represents a particle system that can be used to create various visual effects.
Inherits: Dynamic
Properties¶
- Playing:
boolean - Image:
ImageAsset - Color:
ColorSeries - Lifetime:
NumberRange - Amount:
number - Gravity:
Vector3 - VelocityDirection:
Vector3 - InitialVelocity:
NumberRange - Spread:
number - Flatness:
number - Scale:
NumberRange - HueVariation:
NumberRange - BlendMode:
BlendModeEnum - Shaded:
boolean - EmissionShape:
ParticleEmissionShapeEnum - EmissionShapeScale:
Vector3 - SimulationSpace:
ParticleSimulationSpaceEnum
Methods¶
Play() → nil¶
Starts playing the particle system.
Stop() → nil¶
Stops playing the particle system.
Emit(count: number) → nil¶
Emits a specified number of particles immediately.