class Camera
Base class for cameras.
class Camera extends Object3D
Inheritance Object3D –> Camera
Name | Description |
---|---|
Constructors | |
Camera() | Creates a new Camera. |
Properties | |
matrixWorldInverse | Inverse of .matrixWorld |
projectionMatrix | Matrix which contains the projection. |
projectionMatrixInverse | The inverse of .projectionMatrix |
Methods | |
getMatrixWorldInverse | Get the value of .matrixWorldInverse |
getProjectionMatrix | Get the value of .projectionMatrix |
getProjectionMatrixInverse | Get the value of .projectionMatrixInverse |
Constructors
Camera()
Camera
()
Creates a new Camera. Note that this class is not intended to be created directly.
Properties
See the base Object3D class for common properties.
matrixWorldInverse
.matrixWorldInverse
: Object
This is the inverse of .matrixWorld
. .matrixWorld
contains the Matrix which has the world transform of the Camera.
Read-only.
projectionMatrix
.projectionMatrix
: Object
This is the matrix which contains the projection.
Read-only.
projectionMatrixInverse
.projectionMatrixInverse
: Object
The inverse of .projectionMatrix
.
Read-only.
Methods
See the base Object3D class for common methods.
getMatrixWorldInverse()
.getMatrixWorldInverse
(matrix
: Matrix4) : Matrix4
Copy the value of .matrixWorldInverse
into matrix
.
getProjectionMatrix()
.getProjectionMatrix
(matrix
: Matrix4) : Matrix4
Copy the value of .projectionMatrix
into matrix
.
getProjectionMatrixInverse()
.getProjectionMatrixInverse
(matrix
: Matrix4) : Matrix4
Copy the value of .projectionMatrixInverse
into matrix
.