Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    The properties this module writes — the intersection of THREE.MeshPhysicalMaterial and MeshPhysicalNodeMaterial it relies on. Typed structurally so the helpers accept either class (and a plain stub in a unit test) without importing three/webgpu.

    interface PhysicalMeshHost {
        roughness: number;
        metalness: number;
        clearcoat: number;
        iridescence: number;
        sheen: number;
        transmission: number;
        ior: number;
        thickness: number;
        dispersion: number;
        clearcoatRoughness: number;
        attenuationDistance: number;
        opacity: number;
        transparent: boolean;
        depthWrite: boolean;
        alphaTest: number;
        color: Color;
        emissive: Color;
        sheenColor: Color;
        attenuationColor: Color;
        vertexColors: boolean;
        flatShading: boolean;
        toneMapped: boolean;
        needsUpdate: boolean;
        userData: Record<string, unknown>;
    }

    Hierarchy

    Index
    roughness: number
    metalness: number
    clearcoat: number
    iridescence: number
    sheen: number
    transmission: number
    ior: number
    thickness: number
    dispersion: number
    clearcoatRoughness: number
    attenuationDistance: number
    opacity: number
    transparent: boolean
    depthWrite: boolean
    alphaTest: number
    color: Color
    emissive: Color
    sheenColor: Color
    attenuationColor: Color
    vertexColors: boolean
    flatShading: boolean
    toneMapped: boolean
    needsUpdate: boolean
    userData: Record<string, unknown>