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

    Result of one playback advance step.

    interface AdvanceResult {
        value: number;
        direction: AnimationDirection;
        shouldStop: boolean;
        directionChanged: boolean;
    }
    Index
    value: number

    The next dimension value (boundary-adjusted).

    Direction AFTER the step (flipped by a bounce turnaround).

    shouldStop: boolean

    True when loopMode 'once' hit its boundary — playback should stop.

    directionChanged: boolean

    True when a bounce turnaround flipped the direction this step.