Capítulo 16 de 859
Abstract base class for cameras. This class should always be inherited when you build a new camera.
Constructor
| Signature |
|---|
new Camera() (abstract) |
Properties
| Property | Description |
|---|---|
| `.coordinateSystem : WebGLCoordinateSystem | WebGPUCoordinateSystem` |
.isCamera : boolean (readonly) | This flag can be used for type testing. |
.matrixWorldInverse : Matrix4 | The inverse of the camera's world matrix. |
.projectionMatrix : Matrix4 | The camera's projection matrix. |
.projectionMatrixInverse : Matrix4 | The inverse of the camera's projection matrix. |
.reversedDepth : boolean | The flag that indicates whether the camera uses a reversed depth buffer. |
Methods
| Method | Description |
|---|---|
.getWorldDirection( target : Vector3 ) : Vector3 | Returns a vector representing the ("look") direction of the 3D object in world space. |