EmitterConfig
type EmitterConfig = object;Type describing the configuration options for an Emitter.
Properties
addAtBack?
optional addAtBack: boolean;Whether new particles are added to the back of the particle list (behind other particles).
alphaBehavior?
optional alphaBehavior: AlphaBehaviorConfig;Configuration for the AlphaBehavior.
colorBehavior?
optional colorBehavior: ColorBehaviorConfig;Configuration for the ColorBehavior.
ease?
optional ease: Ease;Easing applied to particle's lifetime.
emitterVersion
emitterVersion: string;Emitter version this config was made for.
maxParticleLifetime?
optional maxParticleLifetime: number;Maximum lifetime of particles emitted, in seconds.
maxParticles?
optional maxParticles: number;Maximum number of particles allowed alive at once.
minParticleLifetime?
optional minParticleLifetime: number;Minimum lifetime of particles emitted, in seconds.
movementBehavior?
optional movementBehavior: MovementBehaviorConfig;Configuration for the MovementBehavior.
particlesPerWave?
optional particlesPerWave: number;Number of particles to spawn each wave.
rotationBehavior?
optional rotationBehavior: RotationBehaviorConfig;Configuration for the RotationBehavior.
scaleBehavior?
optional scaleBehavior: ScaleBehaviorConfig;Configuration for the ScaleBehavior.
spawnBehavior?
optional spawnBehavior: SpawnBehaviorConfig;Configuration for the SpawnBehavior.
spawnChance?
optional spawnChance: number;Chance of spawning particles each wave, between 0 and 1.
spawnInterval?
optional spawnInterval: number;Interval between spawn waves, in seconds.
textureBehavior?
optional textureBehavior: TextureBehaviorConfig;Configuration for the TextureBehavior.