Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    PHYSICAL_MESH_DEFAULTS: {
        roughness: 1;
        metalness: 0;
        clearcoat: 0;
        clearcoatRoughness: 0;
        iridescence: 0;
        sheen: 0;
        sheenColor: "#ffffff";
        transmission: 0;
        ior: 1.5;
        thickness: 0;
        attenuationDistance: number;
        attenuationColor: "#ffffff";
        dispersion: 0;
    } = ...

    What an ABSENT knob renders as, keyed by three PROPERTY name (the construction config's spelling). Three's own defaults, with one deliberate exception: sheenColor is white where three's is black, because a black sheen is a no-op and an authored sheen=1 with no colour would then render nothing — the silent failure the whole material contract exists to refuse. The Python writer never stamps these, so an absent attr on disk IS the default.

    Type Declaration

    • Readonlyroughness: 1
    • Readonlymetalness: 0
    • Readonlyclearcoat: 0
    • ReadonlyclearcoatRoughness: 0
    • Readonlyiridescence: 0
    • Readonlysheen: 0
    • ReadonlysheenColor: "#ffffff"
    • Readonlytransmission: 0
    • Readonlyior: 1.5
    • Readonlythickness: 0
    • ReadonlyattenuationDistance: number
    • ReadonlyattenuationColor: "#ffffff"

      Three's own default; white = no tint, so an absent colour changes nothing.

    • Readonlydispersion: 0