ParticlePresets
constParticlePresets:object
Defined in: particles/src/presets.ts:13
Preset emitter configurations.
Type Declaration
Section titled “Type Declaration”fire()
Section titled “fire()”
readonlyfire(textureOrKey):EmitterConfig
Upward fire effect with fading and shrinking.
Parameters
Section titled “Parameters”textureOrKey
Section titled “textureOrKey”TextureInput
Returns
Section titled “Returns”rain()
Section titled “rain()”
readonlyrain(textureOrKey):EmitterConfig
Downward rain drops.
Parameters
Section titled “Parameters”textureOrKey
Section titled “textureOrKey”TextureInput
Returns
Section titled “Returns”smoke()
Section titled “smoke()”
readonlysmoke(textureOrKey):EmitterConfig
Slow-rising smoke effect.
Parameters
Section titled “Parameters”textureOrKey
Section titled “textureOrKey”TextureInput
Returns
Section titled “Returns”sparks()
Section titled “sparks()”
readonlysparks(textureOrKey):EmitterConfig
Fast directional sparks.
Parameters
Section titled “Parameters”textureOrKey
Section titled “textureOrKey”TextureInput