Interface ParticleSystemParameters

Interface representing the parameters for a particle system.

interface ParticleSystemParameters {
    autoDestroy?: boolean;
    behaviors?: Behavior[];
    blendTiles?: boolean;
    duration?: number;
    emissionBursts?: BurstParameters[];
    emissionOverDistance?: ValueGenerator | FunctionValueGenerator;
    emissionOverTime?: ValueGenerator | FunctionValueGenerator;
    instancingGeometry?: BufferGeometry;
    layers?: Layers;
    looping?: boolean;
    material: Material;
    onlyUsedByOther?: boolean;
    prewarm?: boolean;
    rendererEmitterSettings?: RendererEmitterSettings;
    renderMode?: RenderMode;
    renderOrder?: number;
    shape?: EmitterShape;
    softFarFade?: number;
    softNearFade?: number;
    softParticles?: boolean;
    speedFactor?: number;
    startColor?: ColorGenerator | FunctionColorGenerator;
    startLength?: ValueGenerator | FunctionValueGenerator;
    startLife?: ValueGenerator | FunctionValueGenerator;
    startRotation?: ValueGenerator | FunctionValueGenerator | RotationGenerator;
    startSize?: ValueGenerator | FunctionValueGenerator | Vector3Generator;
    startSpeed?: ValueGenerator | FunctionValueGenerator;
    startTileIndex?: ValueGenerator;
    uTileCount?: number;
    vTileCount?: number;
    worldSpace?: boolean;
}

Properties

autoDestroy?: boolean

Whether the particle system auto-destroys.

behaviors?: Behavior[]

The behaviors of the particle system.

blendTiles?: boolean

Whether to blend tiles.

duration?: number

The duration of the particle system.

emissionBursts?: BurstParameters[]

The burst parameters for emission.

emissionOverDistance?: ValueGenerator | FunctionValueGenerator

The emission rate over distance.

The emission rate over time.

instancingGeometry?: BufferGeometry

The instancing geometry of the particle system.

layers?: Layers

The layers of the particle system.

looping?: boolean

Whether the particle system loops.

material: Material

The material of the particle system.

onlyUsedByOther?: boolean

Whether the particle system is only used by others.

prewarm?: boolean

Whether the particle system prewarms.

rendererEmitterSettings?: RendererEmitterSettings

The renderer emitter settings.

renderMode?: RenderMode

The render mode of the particle system.

renderOrder?: number

The render order of the particle system.

shape?: EmitterShape

The shape of the emitter.

softFarFade?: number

The far fade distance for soft particles.

softNearFade?: number

The near fade distance for soft particles.

softParticles?: boolean

Whether to use soft particles.

speedFactor?: number

The speed factor of the particle system.

The initial color of particles.

The initial length of particles.

The initial life of particles.

The initial rotation of particles.

The initial size of particles.

The initial speed of particles.

startTileIndex?: ValueGenerator

The initial tile index for particles.

uTileCount?: number

The number of tiles in the u direction.

vTileCount?: number

The number of tiles in the v direction.

worldSpace?: boolean

Whether the particle system uses world space.