CameraProjection

Base camera projection class. All projection types should inherit from this. Should not be instantiated directly; subclasses must implement matrix calculation.

Constructor

(abstract) new CameraProjection()

Creates a CameraProjection instance.

Members

matrix

Get the current projection matrix.

Methods

(protected) _updateMatrix()

Update the projection matrix. Should be implemented by subclasses.

clone() → {CameraProjection}

Clone this projection object.

Returns:

A new projection object.

Type: 
CameraProjection

copy(source) → {CameraProjection}

Copy parameters from another CameraProjection. Should be implemented by subclasses.

Parameters:
NameTypeDescription
sourceCameraProjection

The source projection object.

Returns:

this

Type: 
CameraProjection