|
NoJobEngine 2.0.7
|
#include <Components.h>
Public Member Functions | |
| glm::mat4 | GetProjection (float aspectRatio) const |
Public Attributes | |
| CameraProjectionType | ProjectionType = CameraProjectionType::Perspective |
| bool | Primary = true |
| float | PerspectiveFOV = 45.0f |
| float | PerspectiveNear = 0.1f |
| float | PerspectiveFar = 1000.0f |
| float | OrthographicSize = 10.0f |
| float | OrthographicNear = -1.0f |
| float | OrthographicFar = 1000.0f |
Definition at line 111 of file Components.h.
|
inline |
Definition at line 122 of file Components.h.
References OrthographicFar, OrthographicNear, OrthographicSize, NoJob::Perspective, PerspectiveFar, PerspectiveFOV, PerspectiveNear, and ProjectionType.
| float NoJob::CameraComponent::OrthographicFar = 1000.0f |
Definition at line 120 of file Components.h.
Referenced by GetProjection(), and NoJob::SceneSerializer::Load().
| float NoJob::CameraComponent::OrthographicNear = -1.0f |
Definition at line 119 of file Components.h.
Referenced by GetProjection(), and NoJob::SceneSerializer::Load().
| float NoJob::CameraComponent::OrthographicSize = 10.0f |
Definition at line 118 of file Components.h.
Referenced by GetProjection(), and NoJob::SceneSerializer::Load().
| float NoJob::CameraComponent::PerspectiveFar = 1000.0f |
Definition at line 117 of file Components.h.
Referenced by GetProjection(), and NoJob::SceneSerializer::Load().
| float NoJob::CameraComponent::PerspectiveFOV = 45.0f |
Definition at line 115 of file Components.h.
Referenced by GetProjection(), and NoJob::SceneSerializer::Load().
| float NoJob::CameraComponent::PerspectiveNear = 0.1f |
Definition at line 116 of file Components.h.
Referenced by GetProjection(), and NoJob::SceneSerializer::Load().
| bool NoJob::CameraComponent::Primary = true |
Definition at line 114 of file Components.h.
Referenced by NoJob::SceneSerializer::Load(), and NoJob::SceneSerializer::Save().
| CameraProjectionType NoJob::CameraComponent::ProjectionType = CameraProjectionType::Perspective |
Definition at line 113 of file Components.h.
Referenced by GetProjection(), and NoJob::SceneSerializer::Load().