Skip to main content

camera

3d · render · 4 properties · 3D

The view the scene is drawn from, following the node's global pose: look_at aims the 3D camera, zoom scales the 2D one in logical pixels per world unit. The last current camera of a kind, in tree order, drives that view.

In a scene, camera is the node key that applies it. A script reaches the same properties through node.camera.get() and node.camera.set(table).

Properties

propertytypedefaultdescription
currentbooltrueWhether this camera drives the view; the last current one wins
kindenum3dWhich camera this node drives One of 3d, 2d.
look_atvec3[0,0,0]World point the 3D camera looks at
zoomfloat602D zoom in logical pixels per world unit At least 1.