Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Build the LEFT/MIDDLE/RIGHT mouse-button mapping for orbit (3D) mode. enabled=true returns the touchpad-friendly mapping (LEFT=rotate, RIGHT=pan); enabled=false returns the CAD/Blender mapping (LEFT=pan, RIGHT=rotate). Used both at orbit-control creation time and live by setNaturalDrag to swap without recreating controls.

      Parameters

      • enabled: boolean

      Returns MouseButtonMap