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

    Interface DimsToViewStateOptions

    Options controlling how simpleDimsToViewState fills the per-dimension tolerance array when converting a SimpleDims snapshot into a ViewState.

    interface DimsToViewStateOptions {
        maxRadius: number;
        defaultTolerance: number;
    }
    Index
    maxRadius: number

    Per-non-displayed continuous dim tolerance (typical: scene maxRadius).

    defaultTolerance: number

    Initial filler for the tolerance array before the per-dim rules below are applied. Every entry is overwritten — a dim with no metadata falls through to maxRadius, not to this value — so it does not currently reach the returned ViewState.