Optional
constrainWhether to prevent the Camera from being pitched upside down.
The Camera is upside down when the angle between Camera.up and Camera.worldUp is less than one degree.
Default value is false
.
Optional
customParameters for the CustomProjection at Camera.customProjection.
Optional
Internal
deviceOptional
eyeThe 3D position of the Camera's viewpoint.
Default value is [0, 0, -10]
.
Optional
frustumParameters for the FrustumProjection at Camera.frutsumProjection.
Optional
gimbalWhether to lock the Camera's yaw rotation to pivot about the World-space "up" axis.
Default value is true
.
Optional
lookThe 3D point that the Camera is looking at.
Default value is [0, 0, 0]
.
Optional
orthoParameters for the OrthoProjection at Camera.orthoProjection.
Optional
perspectiveParameters for the PerspectiveProjection at Camera.perspectiveProjection.
Optional
projectionThe Camera's active projection type.
Possible values are PerspectiveProjectionType, OrthoProjectionType, FrustumProjectionType and CustomProjectionType.
Default value is PerspectiveProjectionType.
Optional
up3D vector indicating the Camera's upwards direction.
Default value is [0, 1, 0]
.
Optional
worldThe up, right and forward axis of the Camera's World coordinate system.
Has format: [rightX, rightY, rightZ, upX, upY, upZ, forwardX, forwardY, forwardZ]
.
Default value is [1, 0, 0, 0, 1, 0, 0, 0, 1]
.
Parameters for a Camera.