Skip to content

camproj

Get or set the camera projection mode.

camproj('orthographic')
camproj('perspective')

Selects orthographic projection (parallel lines stay parallel — default) vs. perspective projection (lines converge with depth, more visually realistic for 3D scenes).

camproj('perspective')
  • view — Set or query the camera view angle.
  • campos — Get or set the camera position.
  • camva — Get or set the camera view angle (zoom).