Interface: EmissionOptions
particles/options.EmissionOptions
Holds a set of options used to configure the way particles are emitted in.
#
Properties#
angle• angle: Variation
<number
>
The angle that particles will be emitted at, in degrees. This is used to, for example, give the particles a particular amount of initial force in a direction.
defaultvalue
0
#
Defined inparticles/options/emissionOptions.ts:34
#
bursts• bursts: Burst
[]
The bursts that particles should be bulk-emitted at.
defaultvalue
An empty array.
#
Defined inparticles/options/emissionOptions.ts:20
#
initialColor• initialColor: Variation
<Color
>
The variable, initial color of the emitted particles.
defaultvalue
Color.white
#
Defined inparticles/options/emissionOptions.ts:65
#
initialLifetime• initialLifetime: Variation
<number
>
The variable, initial lifetime of the emitted particle.
defaultvalue
5
#
Defined inparticles/options/emissionOptions.ts:41
#
initialRotation• initialRotation: Variation
<Vector
>
The variable, initial rotation of the emitted particles, as euler angles.
defaultvalue
Vector.zero
#
Defined inparticles/options/emissionOptions.ts:59
#
initialSize• initialSize: Variation
<number
>
The variable, initial size of the emitted particles.
defaultvalue
1
#
Defined inparticles/options/emissionOptions.ts:53
#
initialSpeed• initialSpeed: Variation
<number
>
The variable, initial speed of the emitted particles.
defaultvalue
5
#
Defined inparticles/options/emissionOptions.ts:47
#
rate• rate: number
The number of particles that should be emitted per second.
defaultvalue
10
#
Defined inparticles/options/emissionOptions.ts:14
#
sourceSampler• sourceSampler: SourceSampler
The sampler used to generate particle spawn positions.
defaultvalue
A sampler that emits particles from (0, 0).