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

    Interface LODGroupDebugInfo

    Substitutive kind=lod group summary. activeLevel is the index of the currently-visible child (the level the registry selected); -1 when none is visible.

    interface LODGroupDebugInfo {
        name: string;
        levelCount: number;
        activeLevel: number;
        selector: LodSelectorName;
        footprintStamped: boolean;
        drawnLevels: LODLevelDebugInfo[];
    }
    Index
    name: string
    levelCount: number
    activeLevel: number

    Index of the FIRST visible level (−1 if none) — the coarser one mid-blend.

    selector: LodSelectorName
    footprintStamped: boolean
    drawnLevels: LODLevelDebugInfo[]

    Every level currently drawn, coarsest first, with the live opacity multiplier of its first fadeable leaf (null when it has none). Two entries mean an LOD cross-fade is in flight. The value is the leaf's composed uOpacity as the LOD fade last wrote it through updateOpacity: authored layer opacity × cross-fade weight × any energy/density compensation. It is therefore not a bare blend weight; the two levels' values sum to one only at authored opacity 1 with no compensation active. The fade never touches THREE's material.opacity (which stays 1.00), so this is the only readout that reflects the real fade state (#2925).