Strata - v1.4.10
    Preparing search index...

    Interface ParticleEmitterRef

    Ref interface for imperative control of the ParticleEmitter.

    interface ParticleEmitterRef {
        burst: (count: number) => void;
        emit: (count: number) => void;
        emitter: ParticleEmitterCore;
        reset: () => void;
        setEmissionRate: (rate: number) => void;
        setPosition: (position: Vector3) => void;
    }
    Index

    Properties

    burst: (count: number) => void

    Emit a burst of particles instantly.

    emit: (count: number) => void

    Emit a specific number of particles immediately.

    Access to the underlying core emitter instance.

    reset: () => void

    Reset the entire system, clearing all active particles.

    setEmissionRate: (rate: number) => void

    Dynamically update the emission rate.

    setPosition: (position: Vector3) => void

    Update the emitter's world position.