@pixi/3d
    Preparing search index...

    Type Alias ParticleFrameMode

    ParticleFrameMode: "random" | "animate" | "overLife"

    How a multi-frame texture picks each particle's frame, set by ParticleSystem3DOptions.frameMode

    • 'random' gives each particle one frame, drawn at spawn, for its whole life.
    • 'animate' plays the frames from birth at ParticleSystem3DOptions.frameRate, looping.
    • 'overLife' plays the frames once across each particle's life, first at birth and last at death.
    const flames = new ParticleSystem3D({ texture: flameFrames, frameMode: 'overLife' });