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

    Interface LevelFade

    An in-flight dissolve between two levels of one group. progress ∈ [0, 1) is the INCOMING level's share of the dissolve; its opacity is smoothstep(progress) and the outgoing level's the complement. It advances at 1 / fadeMs per millisecond from startProgress at startMs.

    interface LevelFade {
        fromIdx: number;
        toIdx: number;
        startMs: number;
        startProgress: number;
        progress: number;
    }
    Index
    fromIdx: number

    The outgoing level (drawn at the complement weight).

    toIdx: number

    The incoming level — the one displayed.

    startMs: number
    startProgress: number
    progress: number