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

    Interface HomePopoverContext

    interface HomePopoverContext {
        fitScene: () => void;
        centerOnOrigin: () => void;
        resetDimensions: () => void;
        hasDimensionSliders: () => boolean;
        resetRendering: () => void;
        resetLayers: () => void;
        hasLayers: () => boolean;
        triggerAnimation: () => void;
    }
    Index
    fitScene: () => void

    Frame all visible geometry (same as the F shortcut / Home left-click).

    centerOnOrigin: () => void

    Re-target camera + controls to (0,0,0) at the current distance.

    resetDimensions: () => void

    All dimension sliders back to their initial defaults.

    hasDimensionSliders: () => boolean

    True when the scene has non-displayed (slider) dimensions to reset — a 3D-only scene has nothing to reset, so the chip renders disabled.

    resetRendering: () => void

    Restore default rendering settings (same as the panel's Reset button).

    resetLayers: () => void

    All layer parameters back to their authored defaults.

    hasLayers: () => boolean

    True when the scene exposes layers to reset (chip disabled otherwise).

    triggerAnimation: () => void

    Request a render so the action's effect is visible immediately.