OptionalcameraFitFOV?: numberHow much of the field-of-view the scene fills after the
camera arrives at the chosen view, in degrees. Default 45.
OptionalcameraFlight?: CameraFlightAnimationCamera-flight animator used when the user clicks a region of the cube. If omitted the NavCube hard-snaps the camera (no animation).
OptionalcameraFly?: booleanIf true, fly the camera on click; if false, jump. Default
true (when cameraFlight is supplied).
OptionalcameraFlyDuration?: numberFlight duration in seconds when cameraFly is true.
Default 0.5.
Optionalcontainer?: HTMLElementElement the floating NavCube panel + pill mount into.
Defaults to document.body, matching the other floating demo
panels. The panel's drag position is persisted to
localStorage so the layout survives reloads.
Optionalsize?: numberEdge length of the cube in CSS pixels. Default 100. The
surrounding panel chrome (header + padding) adds a small
margin around this on the screen.
The View the NavCube reflects and drives. The cube tracks the View's camera orientation and, on click, flies the camera to the canonical axis / corner / edge view.
Optionalvisible?: booleanInitial visibility. Default true.
OptionalzUp?: booleanSelects whether the world's "up" axis is +Z (default — CAD /
BIM convention) or +Y (graphics convention). Determines
which face of the cube is labelled "TOP" and which world
direction "FRONT" looks toward. If omitted, the NavCube reads
the View's scene.coordinateSystem.worldUp.
Construction parameters for NavCube.