![]() |
Elevate Engine 1
|
#include <EditorCamera.h>
Public Member Functions | |
| EditorCamera (float fov=60.0f) | |
| void | Init () override |
| void | Update () override |
| void | OnNotify (Event &event) override |
Public Member Functions inherited from Elevate::Camera | |
| BEGIN_COMPONENT (Camera, EditorIcon(std::string(Editor::Icons::COMPONENT_ICON_CAMERA))) Camera(float fov | |
| Camera (float fov, float aspectRatio, bool overrideCurrent=true) | |
| const void | UpdateAspectRatio (float aspectRatio) |
| const glm::mat4 & | GetProjectionMatrix () const |
| glm::mat4 | GenViewMatrix () const |
| const glm::vec3 & | GetFrontVec () const |
| const glm::vec3 & | GetRightVec () const |
| const glm::vec3 & | GetUpVec () const |
| const float | GetFOV () const |
| void | SetFOV (float fov) |
| const float | GetNear () const |
| void | SetNear (float nearPlane) |
| const float | GetFar () const |
| void | SetFar (float farPlane) |
| const float | GetAspectRatio () const |
| void | UpdateCameraVectors () |
| glm::mat4 | GenViewProjectionMatrix () const |
| void | Destroy () override |
| void | OnSetRotation () override |
| void | RenderWhenSelected () override |
Public Member Functions inherited from Elevate::Component | |
| Component ()=default | |
| virtual | ~Component ()=default |
| virtual Component * | Clone ()=0 |
| virtual void | CopyFrom (Component *other)=0 |
| virtual GameObjectComponentFactory | GetFactory () const =0 |
| virtual GameObjectComponentDestructor | GetDestructor () const =0 |
| virtual const void * | GetEditorIconHandle () const |
| virtual std::type_index | GetTypeIndex () const =0 |
| void | SetActive (bool newState) |
| bool | IsActive () |
| virtual ComponentLayout | GetLayout () const |
| virtual bool | RemoveFromGameObject () |
| virtual std::string | GetName () const |
Public Member Functions inherited from EEObject | |
| virtual EECategory | GetCategory () const |
Protected Member Functions | |
| void | ClampRotation () |
Protected Member Functions inherited from Elevate::Component | |
| virtual void | Render () |
| virtual void | RenderInEditor () |
| virtual void | OnSetPosition () |
| virtual void | OnSetScale () |
Additional Inherited Members | |
Public Attributes inherited from Elevate::Camera | |
| bool | overrideCurrent = true) |
Public Attributes inherited from Elevate::Component | |
| std::function< bool()> | RemoveFromGOFunc |
| GameObject * | gameObject = nullptr |
Protected Attributes inherited from Elevate::Component | |
| bool | m_IsActive = true |
Protected Attributes inherited from EEObject | |
| EECategory | m_category |
Definition at line 8 of file EditorCamera.h.
| Elevate::EditorCamera::EditorCamera | ( | float | fov = 60.0f | ) |
Definition at line 9 of file EditorCamera.cpp.
|
protected |
Definition at line 74 of file EditorCamera.cpp.
|
overridevirtual |
Reimplemented from Elevate::Camera.
Definition at line 68 of file EditorCamera.cpp.
|
overridevirtual |
Reimplemented from Elevate::Component.
Definition at line 51 of file EditorCamera.cpp.
|
overridevirtual |
Reimplemented from Elevate::Component.
Definition at line 12 of file EditorCamera.cpp.