Camera

Members

Functions

getProjectionMatrix
Matrix getProjectionMatrix()
getScreenMatrix
Matrix getScreenMatrix()

Converts world position to screen position - This is equal to getProjectionMatrix() * getViewMatrix()

getUIMatrix
Matrix getUIMatrix()
getViewMatrix
Matrix getViewMatrix()

Properties

zRange
float zRange [@property getter]

Variables

FOV
float FOV;

For perspective projection

height
float height;

For orthographic projection and UI

position
Vector3 position;
projection
Projection projection;
resolutionDependent
bool resolutionDependent;

Width and height will be set to the screen resolution when true

rotation
Quaternion rotation;
scale
Vector3 scale;
sortingMethod
SortingMethod sortingMethod;
useDepthBuffer
bool useDepthBuffer;
width
float width;

For orthographic projection and UI

zFar
float zFar;
zNear
float zNear;

Meta