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

    Interface LuxarOrbitControlsConfig

    Optional construction parameters for LuxarOrbitControls.

    Every field is optional and falls back to a built-in default (matching three.js OrbitControls where applicable — e.g. maxDistance/maxZoom default to Infinity). Groups: interaction feel (enableDamping, dampingFactor, *Speed), gesture toggles (enableRotate/Pan/Zoom), auto-rotation, zoom/distance constraints, and trackballRadius for the virtual-trackball rotation.

    interface LuxarOrbitControlsConfig {
        enableDamping?: boolean;
        dampingFactor?: number;
        rotateSpeed?: number;
        panSpeed?: number;
        zoomSpeed?: number;
        enableRotate?: boolean;
        enablePan?: boolean;
        enableZoom?: boolean;
        autoRotate?: boolean;
        autoRotateSpeed?: number;
        autoRotateAxis?: AutoRotateAxis;
        autoDolly?: boolean;
        autoDollyAmplitude?: number;
        autoDollyPeriod?: number;
        minDistance?: number;
        maxDistance?: number;
        minZoom?: number;
        maxZoom?: number;
        screenSpacePanning?: boolean;
        trackballRadius?: number;
    }
    Index
    enableDamping?: boolean
    dampingFactor?: number
    rotateSpeed?: number
    panSpeed?: number
    zoomSpeed?: number
    enableRotate?: boolean
    enablePan?: boolean
    enableZoom?: boolean
    autoRotate?: boolean
    autoRotateSpeed?: number
    autoRotateAxis?: AutoRotateAxis
    autoDolly?: boolean
    autoDollyAmplitude?: number
    autoDollyPeriod?: number
    minDistance?: number
    maxDistance?: number
    minZoom?: number
    maxZoom?: number
    screenSpacePanning?: boolean
    trackballRadius?: number