Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Compute the next dimension-navigation step given the current dim state. Returns null when navigation cannot proceed (no dims, no ranges, no navigable dimensions, or a stale selected-dimension slot).

      The changed threshold is a step-relative epsilon (snapStep * 1e-9, matching SceneDimsManager) so a sub-micro-unit grid is still navigable; the intent is unchanged from the inline original — pure arithmetic identity isn't required, only "movement big enough that the spatial-index loader will requery."

      Parameters

      • direction: -1 | 1
      • selectedDimension: number
      • dims: SimpleDims | null | undefined
      • dimensionRanges: readonly (readonly [number, number])[] | null | undefined
      • OptionalgetStepOverride: (dimIndex: number) => number | null

      Returns DimensionStepResult | null