Camera class

Camera class

A camera’s projection. A node MAY reference a camera to apply a transform to place the camera in the scene.

Inheritance: CameraLogicalChildOfRootExtraPropertiesJsonSerializable

The Camera type exposes the following members:

Properties

PropertyDescription
extensionsGets a collection of JsonSerializable instances.
extrasGets or sets the extras content of this instance.
nameGets or sets the display text name, or null.

⚠️ DO NOT USE AS AN OBJECT ID ⚠️ see remarks.
logical_parentGets the GlbData instance that owns this object.
logical_indexGets the zero-based index of this object in the Logical resources of GlbData.
settings

Methods

MethodDescription
set_orthographic_modeConfigures this Camera to use Orthographic projection.
set_perspective_mode

See Also