new protected ParticleEmitterSettings()
me.ParticleEmitterSettings contains the default settings for me.ParticleEmitter.
- See:
Members
-
static angle :Number
-
Start angle for particle launch in Radians.
- Default Value:
- Math.PI / 2
-
static angleVariation :Number
-
Variation in the start angle for particle launch in Radians.
- Default Value:
- 0
-
static duration :Number
-
Duration that the emitter releases particles in ms (used only if emitter is Stream).
After this period, the emitter stop the launch of particles.- Default Value:
- Infinity
-
static floating :Boolean
-
Render particles in screen space.
- Default Value:
- false
-
static followTrajectory :Boolean
-
Update the rotation of particle in accordance the particle trajectory.
The particle sprite should aim at zero angle (draw from left to right).
Override the particle minRotation and maxRotation.- Default Value:
- false
-
static framesToSkip :Number
-
Skip n frames after updating the particle system once.
This can be used to reduce the performance impact of emitters with many particles.- Default Value:
- 0
-
static frequency :Number
-
How often a particle is emitted in ms (used only if emitter is Stream).
Necessary that value is greater than zero.- Default Value:
- 100
-
static gravity :Number
-
Vertical force (Gravity) for each particle.
- Default Value:
- 0
- See:
-
static height :Number
-
Height of the particle spawn area.
- Default Value:
- 0
-
static image :CanvasImageSource
-
Image used for particles.
- Default Value:
- 1x1 white pixel
- See:
-
static maxEndScale :Number
-
Maximum end scale ratio for particles.
- Default Value:
- 0
-
static maxLife :Number
-
Maximum time each particle lives once it is emitted in ms.
- Default Value:
- 3000
-
static maxParticles :Number
-
Maximum number of particles launched each time in this emitter (used only if emitter is Stream).
- Default Value:
- 10
-
static maxRotation :Number
-
Maximum start rotation for particles sprites in Radians.
- Default Value:
- 0
-
static maxStartScale :Number
-
Maximum start scale ratio for particles (1 = no scaling).
- Default Value:
- 1
-
static minEndScale :Number
-
Minimum end scale ratio for particles.
- Default Value:
- 0
-
static minLife :Number
-
Minimum time each particle lives once it is emitted in ms.
- Default Value:
- 1000
-
static minRotation :Number
-
Minimum start rotation for particles sprites in Radians.
- Default Value:
- 0
-
static minStartScale :Number
-
Minimum start scale ratio for particles (1 = no scaling).
- Default Value:
- 1
-
static onlyInViewport :Boolean
-
Update particles only in the viewport, remove it when out of viewport.
- Default Value:
- true
-
static speed :Number
-
Start speed of particles.
- Default Value:
- 2
-
static speedVariation :Number
-
Variation in the start speed of particles.
- Default Value:
- 1
-
static textureAdditive :Boolean
-
Enable the Texture Additive by canvas composite operation (lighter).
WARNING: Composite Operation may decreases performance!.- Default Value:
- false
-
static totalParticles :Number
-
Total number of particles in the emitter.
- Default Value:
- 50
-
static width :Number
-
Width of the particle spawn area.
- Default Value:
- 0
-
static wind :Number
-
Horizontal force (like a Wind) for each particle.
- Default Value:
- 0