Doc > Nodes > OBJ > PerspectiveCamera

Doc > Nodes > OBJ > PerspectiveCamera

Creates a perspective camera.

Description

no description

Parameters

Name Type Description
fov float field of view
keepPosWhenParenting boolean toggle on to keep world position when adding a parent or removing from one
rotationOrder integer rotation order
t vector3 translate
r vector3 rotation
s vector3 scale
scale float scale
matrixAutoUpdate boolean set for the matrix to be updated every frame
controls node_path controls node to allow the camera to be moved by user input
updateFromControlsMode integer define when the camera node transform parameters are updated after the controls have moved the internal camera object
near float near
far float far
display boolean display
showHelper boolean show helper
fovAdjustMode integer fov adjust mode
expectedAspectRatio float expected aspect ratio
setScene boolean toggle on to override rendered scene
scene operator_path override rendered scene
setRenderer boolean toggle on to override the renderer
renderer operator_path override renderer used
setCSSRenderer boolean toggle on to add a CSSRenderer to have html elements on top of the 3D objects
CSSRenderer operator_path add a css renderer