#include <EditorCamera.h>
Inherits Raven::Camera.
Public Member Functions | |
| EditorCamera ()=default | |
| ILLUMINE_API | EditorCamera (float fovDegrees, float aspectRatio, float nearClip, float farClip) |
| ILLUMINE_API void | OnUpdate (Timestep ts) |
| ILLUMINE_API void | SetViewportSize (float width, float height) |
| Public Member Functions inherited from Raven::Camera | |
| Camera ()=default | |
| Camera (const Crux::mat4 &projection) | |
| Constructs a Camera with a given projection matrix. | |
| virtual | ~Camera ()=default |
| const Crux::mat4 & | GetProjection () const |
| const Crux::mat4 & | GetViewProjection () const |
| const Crux::mat4 & | GetView () const |
| const Crux::vec3 & | GetPosition () const noexcept |
Additional Inherited Members | |
| Protected Attributes inherited from Raven::Camera | |
| Crux::mat4 | m_Projection = Crux::mat4(1.0f) |
| Projection matrix (e.g., perspective or orthographic). | |
| Crux::mat4 | m_View = Crux::mat4(1.0f) |
| View matrix representing camera position/orientation. | |
| Crux::mat4 | m_ViewProjection = Crux::mat4(1.0f) |
| Cached combined view-projection matrix. | |
| Crux::vec3 | m_Position = Crux::vec3(0.0f) |
| World Space Position of the Camera. | |
|
default |
| Raven::EditorCamera::EditorCamera | ( | float | fovDegrees, |
| float | aspectRatio, | ||
| float | nearClip, | ||
| float | farClip ) |
| void Raven::EditorCamera::OnUpdate | ( | Timestep | ts | ) |
| void Raven::EditorCamera::SetViewportSize | ( | float | width, |
| float | height ) |