|
| EditorCamera (float fov, float aspect, float near, float far) |
|
float | GetYaw () |
|
float | GetPitch () |
|
float | GetMovementSpeed () |
|
float | GetMouseSensitivity () |
|
float | GetZoom () |
|
void | SetPerspective (float fov, float aspect, float near, float far) |
|
void | SetViewportSize (int width, int height) override |
|
void | MoveForward () override |
|
void | MoveBackward () override |
|
void | MoveLeft () override |
|
void | MoveRight () override |
|
void | ProcessMouseScroll (float scrollOffset) override |
|
void | ProcessMouseMovement (float xOffset, float yOffset, bool constrainPitch) override |
|
glm::vec3 | GetPosition () |
|
glm::mat4 | GetViewMatrix () |
|
glm::mat4 | GetProjectionMatrix () |
|
void | SetPosition (const Vivid::Maths::Vec3 &position) |
|
void | SetPerspective (const glm::mat4 &perspective) |
|
void | SetViewMatrix (const glm::mat4 &view) |
|
virtual void | SetViewportSize (int width, int height)=0 |
|
virtual void | MoveForward ()=0 |
|
virtual void | MoveBackward ()=0 |
|
virtual void | MoveLeft ()=0 |
|
virtual void | MoveRight ()=0 |
|
virtual void | ProcessMouseScroll (float scrollOffset)=0 |
|
virtual void | ProcessMouseMovement (float xOffset, float yOffset, bool constrainPitch=true)=0 |
|
virtual glm::mat4 | GetViewMatrix ()=0 |
|
virtual glm::mat4 | GetProjectionMatrix ()=0 |
|
virtual void | SetPerspective (const glm::mat4 &perspective)=0 |
|
virtual void | SetViewMatrix (const glm::mat4 &view)=0 |
|
virtual void | SetViewportSize (int width, int height)=0 |
|
int | GetViewportWidth () |
|
int | GetViewportHeight () |
|
A class for the EditorCamera.
EditorCamera is a camera that can be moved around in the scene. It can be moved forward, backward, left, right, and can be rotated using the mouse. It also has a perspective. EditorCamera works on perspective projection and is the default camera for rendering.
Definition at line 13 of file EditorCamera.h.