@pixi/3d
    Preparing search index...

    Variable particleLifetimeBitConst Advanced

    particleLifetimeBit: {
        attributes: { aBirth: "float32"; aLife: "float32" };
        bindings: { material: { uParticleTime: "f32" } };
        gl: { vertex: { afterTransform: string; beforeTransform: string } };
        gpu: { vertex: { afterTransform: string; beforeTransform: string } };
        name: string;
    } = ...

    Gives every particle a clock, which the other lifetime bits read

    Each particle carries its aBirth time and aLife length in seconds, and you advance the container's uParticleTime uniform yourself, so you can pause or scrub the system. A particle draws only from its birth until its life runs out.

    Bits composed after it can read two locals in their beforeTransform or later: particleAge, seconds since birth, and particleProgress, age over life from 0 to 1.

    Type Declaration

    • attributes: { aBirth: "float32"; aLife: "float32" }
    • bindings: { material: { uParticleTime: "f32" } }
    • gl: { vertex: { afterTransform: string; beforeTransform: string } }
    • gpu: { vertex: { afterTransform: string; beforeTransform: string } }
    • name: string