babylon.quarks - v1.0.0
    Preparing search index...

    Interface GradientJSON

    A Gradient: its colour and alpha keys. Files written before the keys were split hold functions instead, a list of colour ranges, each with the time it starts at.

    interface GradientJSON {
        alpha?: ContinuousLinearFunctionJSON<"Number">;
        color?: ContinuousLinearFunctionJSON<"Vector3" | "Color">;
        functions?: GradientRangeJSON[];
        type: "Gradient";
    }
    Index

    The alpha keys.

    color?: ContinuousLinearFunctionJSON<"Vector3" | "Color">

    The colour keys.

    functions?: GradientRangeJSON[]

    The older form: colour ranges, each with the time it starts at.

    type: "Gradient"

    The generator's type.