@pixi/3d
    Preparing search index...

    Variable particleColorOverLifeBitConst Advanced

    particleColorOverLifeBit: {
        attributes: { aColorEnd: "unorm8x4" };
        gl: { vertex: { beforeTransform: string } };
        gpu: { vertex: { beforeTransform: string } };
        name: string;
    } = ...

    Ramps a particle's tint from its spawn colour to aColorEnd across its life

    aColorEnd takes { x, y, z, w }, each 0 to 1 in display (sRGB) space, not a ColorSource; w is unused, since particleAlphaOverLifeBit ramps opacity. Compose it after particleLifetimeBit.

    Type Declaration

    • attributes: { aColorEnd: "unorm8x4" }
    • gl: { vertex: { beforeTransform: string } }
    • gpu: { vertex: { beforeTransform: string } }
    • name: string