A camera's projection. A node can reference a camera to apply a transform to place the camera in the scene

interface ICamera {
    extensions?: Record<string, unknown>;
    extras?: Record<string, unknown>;
    name?: string;
    orthographic?: ICameraOrthographic;
    perspective?: ICameraPerspective;
    type: CameraType;
}

Hierarchy (view full)

Properties

extensions?: Record<string, unknown>

Dictionary object with extension-specific objects

extras?: Record<string, unknown>

Application-Specific data

name?: string

The user-defined name of this object

orthographic?: ICameraOrthographic

An orthographic camera containing properties to create an orthographic projection matrix

perspective?: ICameraPerspective

A perspective camera containing properties to create a perspective projection matrix

Specifies if the camera uses a perspective or orthographic projection