uint64_t Camera::GetLayerFlags |
( |
| ) |
const |
Get the flags describing which render layers this camera is on.
- Returns
- A 64-bit bitflag representing the render layers
const Math::Matrix4 & Camera::GetProjection |
( |
| ) |
const |
Gets the projection matrix.
- Returns
- A reference to the camera's projection matrix as a Matrix4
const Math::Matrix4 & Camera::GetView |
( |
| ) |
const |
Gets the view matrix.
- Returns
- A reference to the camera's view matrix as a Matrix4
void Camera::RegisterCamera |
( |
Renderer & |
renderer | ) |
|
Register this camera to the renderer based on its layer flags.
- Parameters
-
renderer | The Renderer to register this camera to |
void Camera::SetLayerFlags |
( |
uint64_t |
flags | ) |
|
Sets the layer flags of the camera.
- Parameters
-
flags | A 64 bit integer containing the flags that this camera is a part of |
void Camera::SetProjection |
( |
Math::Matrix4 |
projection | ) |
|
Sets the projection matrix of the camera.
- Parameters
-
view | A Math::Matrix4 describing a projection matrix |
void Camera::SetView |
( |
Math::Matrix4 |
view | ) |
|
Sets the view matrix of the camera.
- Parameters
-
view | A Math::Matrix4 describing a view matrix |
The documentation for this class was generated from the following files: