Creates a Camera component.
More...
#include <CameraComponent.h>
|
std::string | id |
| The ID of the component type. More...
|
|
Creates a Camera component.
◆ ~CameraComponent()
CameraComponent::~CameraComponent |
( |
| ) |
|
|
virtual |
◆ getOrthoProjection()
float * CameraComponent::getOrthoProjection |
( |
| ) |
|
Returns the Camera orthogonal projection matrix.
- Returns
- The Camera orthogonal projection matrix.
◆ getProjection()
Mat4 CameraComponent::getProjection |
( |
| ) |
|
Returns the Camera projection matrix.
- Returns
- The Camera projection matrix.
◆ getZDepth()
float CameraComponent::getZDepth |
( |
| ) |
|
Returns the Z depth for the Camera.
- Returns
- The Z depth for the Camera.
◆ onAwake()
void CameraComponent::onAwake |
( |
| ) |
|
|
virtual |
A virtual function for the componets awake.
Reimplemented from Component.
◆ onDestroy()
void CameraComponent::onDestroy |
( |
| ) |
|
|
virtual |
A virtual function for the componets destroy.
Reimplemented from Component.
◆ projection
Mat4 CameraComponent::projection |
|
private |
Construct a projection matrix for the Camera (Camera lense)
◆ zDepth
float CameraComponent::zDepth |
|
private |
The Z depth for the camera.
The documentation for this class was generated from the following files: