ParticleEmitterData
ParticleEmitterData =
ParticleEmitterSource&object
Defined in: particles/src/types.ts:88
Serializable snapshot of a ParticleEmitterComponent.
Type Declaration
Section titled “Type Declaration”alpha?
Section titled “alpha?”
optionalalpha?:NumberRange|Lerped
angle:
NumberRange
blendMode?
Section titled “blendMode?”
optionalblendMode?:BlendMode
Omitted while the emitter never set a mode, which is the common case.
damping
Section titled “damping”damping:
number
gravity?
Section titled “gravity?”
optionalgravity?:object
gravity.x
Section titled “gravity.x”x:
number
gravity.y
Section titled “gravity.y”y:
number
layer:
string
lifetime
Section titled “lifetime”lifetime:
NumberRange
maxParticles
Section titled “maxParticles”maxParticles:
number
rate:
number
rotation
Section titled “rotation”rotation:
NumberRange
rotationSpeed
Section titled “rotationSpeed”rotationSpeed:
NumberRange
scale?
Section titled “scale?”
optionalscale?:NumberRange|Lerped
spawnOffset?
Section titled “spawnOffset?”
optionalspawnOffset?:object
spawnOffset.x?
Section titled “spawnOffset.x?”
optionalx?:NumberRange
spawnOffset.y?
Section titled “spawnOffset.y?”
optionaly?:NumberRange
speed:
NumberRange
tint:
number