#include <SceneCamera.h>
◆ ProjectionType
| Enumerator |
|---|
| Perspective | |
| Orthographic | |
Responsible for rendering a scene in an Orthographic view.
◆ SceneCamera()
| Muto::SceneCamera::SceneCamera |
( |
| ) |
|
◆ ~SceneCamera()
| virtual Muto::SceneCamera::~SceneCamera |
( |
| ) |
|
|
virtualdefault |
◆ GetOrthographicFarClip()
| float Muto::SceneCamera::GetOrthographicFarClip |
( |
| ) |
const |
|
inline |
◆ GetOrthographicNearClip()
| float Muto::SceneCamera::GetOrthographicNearClip |
( |
| ) |
const |
|
inline |
◆ GetOrthographicSize()
| float Muto::SceneCamera::GetOrthographicSize |
( |
| ) |
const |
|
inline |
◆ GetPerspectiveFarClip()
| float Muto::SceneCamera::GetPerspectiveFarClip |
( |
| ) |
const |
|
inline |
◆ GetPerspectiveNearClip()
| float Muto::SceneCamera::GetPerspectiveNearClip |
( |
| ) |
const |
|
inline |
◆ GetPerspectiveVerticalFOV()
| float Muto::SceneCamera::GetPerspectiveVerticalFOV |
( |
| ) |
const |
|
inline |
float m_PerspectiveFOV
Definition SceneCamera.h:45
◆ GetProjectionType()
ProjectionType m_ProjectionType
Definition SceneCamera.h:43
References m_ProjectionType.
◆ RecalculateProjection()
| void Muto::SceneCamera::RecalculateProjection |
( |
| ) |
|
|
private |
38 {
40 {
42 }
43 else
44 {
49
52 }
53
54 }
glm::mat4 m_Projection
Definition Camera.h:25
float m_AspectRatio
Definition SceneCamera.h:51
constexpr Scope< T > CreateScope(Args &&... args)
Creates a Scope (unique_ptr) for the given type and constructor arguments.
Definition Defines_Macros.h:51
References m_AspectRatio, m_OrthographicSize, m_ProjectionType, and Perspective.
Referenced by SceneCamera(), SetOrthographic(), SetOrthographicFarClip(), SetOrthographicNearClip(), SetOrthographicSize(), SetPerspective(), SetPerspectiveFarClip(), SetPerspectiveNearClip(), SetPerspectiveVerticalFOV(), SetProjectionType(), and SetViewportSize().
◆ SetOrthographic()
◆ SetOrthographicFarClip()
| void Muto::SceneCamera::SetOrthographicFarClip |
( |
float |
farClip | ) |
|
|
inline |
◆ SetOrthographicNearClip()
| void Muto::SceneCamera::SetOrthographicNearClip |
( |
float |
nearClip | ) |
|
|
inline |
◆ SetOrthographicSize()
| void Muto::SceneCamera::SetOrthographicSize |
( |
float |
size | ) |
|
|
inline |
◆ SetPerspective()
◆ SetPerspectiveFarClip()
| void Muto::SceneCamera::SetPerspectiveFarClip |
( |
float |
farClip | ) |
|
|
inline |
◆ SetPerspectiveNearClip()
| void Muto::SceneCamera::SetPerspectiveNearClip |
( |
float |
nearClip | ) |
|
|
inline |
◆ SetPerspectiveVerticalFOV()
| void Muto::SceneCamera::SetPerspectiveVerticalFOV |
( |
float |
verticalFov | ) |
|
|
inline |
◆ SetProjectionType()
◆ SetViewportSize()
◆ m_AspectRatio
| float Muto::SceneCamera::m_AspectRatio = 0.0f |
|
private |
◆ m_OrthographicFar
| float Muto::SceneCamera::m_OrthographicFar = 1.0f |
|
private |
◆ m_OrthographicNear
| float Muto::SceneCamera::m_OrthographicNear = -1.0f |
|
private |
◆ m_OrthographicSize
| float Muto::SceneCamera::m_OrthographicSize = 10.0f |
|
private |
◆ m_PerspectiveFar
| float Muto::SceneCamera::m_PerspectiveFar = 1000.0f |
|
private |
◆ m_PerspectiveFOV
| float Muto::SceneCamera::m_PerspectiveFOV = glm::radians(45.0f) |
|
private |
◆ m_PerspectiveNear
| float Muto::SceneCamera::m_PerspectiveNear = 0.01f |
|
private |
◆ m_ProjectionType
The documentation for this class was generated from the following files: