Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Resolve a pass's requested playback detail (ViewState.ladderDepth) to a loop bound for THIS ladder. A number goes through normalizeLadderDepth; 'auto' pins the first rung whose cumulative energy fraction e(k) reaches energyThreshold (the energy_fraction_cum build stamps, one per rung, in [0, 1], non-decreasing), or the whole ladder if none does; a ladder without stamps cannot be judged and returns null (time-budgeted streaming). Shared by the four geometry loaders so 'auto' means the same thing everywhere.

      Parameters

      • ladderDepth: number | "auto" | null | undefined
      • nLods: number
      • energyTable: readonly number[] | null | undefined
      • energyThreshold: number

      Returns number | null