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

    Class LodDissolves<E>

    Every group's in-flight dissolve, by group path, plus the outgoing level of a dissolve dropped before this frame's visibility pass (so that pass still recounts the level leaving the screen).

    Type Parameters

    Implements

    Index
    fades: Map<string, LevelFade> = ...
    droppedFrom: Map<string, number> = ...
    • Advance (or start) the dissolve of entry toward displayIdx at nowMs and return it, or null when the group should draw displayIdx alone — in which case the dissolve is forgotten.

      A dissolve STARTS when the displayed level differs from the one displayed last frame. It starts from what is on screen: when the previous level was itself still dissolving in (a retarget mid-dissolve), the new one begins at 1 − progress, which keeps the previous level at exactly the opacity it had, so reversing a change only has to undo the part that happened. It ENDS once progress reaches 1, or as soon as the outgoing level can no longer be drawn against the incoming one (released, stale for the current slice, or not blendable).

      Parameters

      • entry: E
      • displayIdx: number
      • frame: { nowMs: number; fadeMs: number; version: number | null }
      • host: DissolveHost<E>

      Returns LevelFade | null

    • The in-flight dissolve, retargeted when the displayed level changed.

      Parameters

      • entry: E
      • displayIdx: number
      • nowMs: number
      • fadeMs: number

      Returns LevelFade | null

    • Forget path's dissolve without recording it as dropped; null.

      Parameters

      • path: string

      Returns null

    • Forget path's dissolve on a path that returns before the dissolve is advanced, recording its outgoing level so the visibility pass recounts it.

      Parameters

      • path: string

      Returns void

    • The outgoing level of path's in-flight dissolve, or -1.

      Parameters

      • path: string

      Returns number

    • The outgoing level of path's dropped dissolve, or -1 — consumed by the visibility pass, which then calls settled.

      Parameters

      • path: string

      Returns number

    • The visibility pass for path ran: its dropped dissolve is accounted for.

      Parameters

      • path: string

      Returns void

    • Forget everything about path (unregistered).

      Parameters

      • path: string

      Returns void