Current projection mode.
Whether rotation is currently enabled.
Switch between perspective (3D) and orthographic (2D). No-op if already in that mode.
Enable/disable orbit rotation at runtime (pan/zoom unaffected).
Move the camera to a preset orientation, framing current scene content. Animated.
Optionalanimate: booleanFrame current content viewed from direction (a world-space vector from target toward camera).
Like setView but takes an explicit direction — used by the nav-cube, whose clicked axis
is a world axis, not a named preset. Pole directions are nudged off-axis to avoid the orbit
singularity.
Optionalanimate: booleanConvenience toggle for a 2D/3D button.
Keep the orthographic frustum aspect in sync on canvas resize. Called by the resize loop.
The camera currently being rendered/picked with. Swaps identity on setProjection.