Strata - v1.4.10
    Preparing search index...

    Interface ParticleEmitterConfig

    Complete configuration for a particle emitter.

    interface ParticleEmitterConfig {
        behavior?: ParticleBehavior;
        blending?: Blending;
        depthWrite?: boolean;
        emissionRate?: number;
        endColor?: ColorRepresentation;
        endOpacity?: number;
        endSize?: number;
        forces?: ParticleForces;
        lifetime?: number;
        lifetimeVariance?: number;
        maxParticles?: number;
        position?: Vector3;
        positionVariance?: Vector3;
        shape?: EmissionShape;
        shapeParams?: EmitterShapeParams;
        sizeVariance?: number;
        sortParticles?: boolean;
        startColor?: ColorRepresentation;
        startOpacity?: number;
        startSize?: number;
        texture?: Texture<unknown>;
        velocity?: Vector3;
        velocityVariance?: Vector3;
    }

    Hierarchy (View Summary)

    Index

    Properties

    behavior?: ParticleBehavior

    Lifecycle behavioral modifiers.

    blending?: Blending

    GPU blending mode.

    depthWrite?: boolean

    Whether particles write to the depth buffer.

    emissionRate?: number

    Number of particles to spawn per second.

    endColor?: ColorRepresentation

    Color at time of death (if no gradient is used).

    endOpacity?: number

    Opacity at time of death (0-1).

    endSize?: number

    Size at time of death.

    Physical forces applied to particles.

    lifetime?: number

    Base particle lifetime in seconds.

    lifetimeVariance?: number

    Random variance applied to lifetime.

    maxParticles?: number

    Maximum number of concurrent particles.

    position?: Vector3

    World position of the emitter.

    positionVariance?: Vector3

    Random variance applied to spawn position.

    Geometric volume for emission.

    shapeParams?: EmitterShapeParams

    Parameters for the selected emission shape.

    sizeVariance?: number

    Random variance applied to initial size.

    sortParticles?: boolean

    Whether to sort particles by depth.

    startColor?: ColorRepresentation

    Color at time of spawn.

    startOpacity?: number

    Opacity at time of spawn (0-1).

    startSize?: number

    Size at time of spawn.

    texture?: Texture<unknown>

    Optional texture for particle sprites.

    velocity?: Vector3

    Initial velocity vector.

    velocityVariance?: Vector3

    Random variance applied to initial velocity.