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

    Class SettleTracker

    Tracks when the (global) view-update version last changed, in registry ticks, so the selector can tell whether the view has "settled" (stopped scrubbing). Single instance per registry — the version is global (one getViewVersion).

    Index
    lastVersion: number = Number.NaN
    lastChangeTick: number = 0
    • Record the current version at tick; resets the settle clock on change.

      Parameters

      • version: number
      • tick: number

      Returns void

    • True once the version has been unchanged for ≥ settleTicks frames.

      Parameters

      • tick: number
      • settleTicks: number

      Returns boolean

    • Forget the observed version and clock — for a registry that restarts its tick at 0 (clear()), so the first observation of the new scene re-seeds the clock instead of comparing against a tick from the old one.

      Returns void