18 #ifndef __H__OCULAR_EDITOR_ROUTINE_EDITOR_CAMERA_CONTROLLER__H__
19 #define __H__OCULAR_EDITOR_ROUTINE_EDITOR_CAMERA_CONTROLLER__H__
21 #include "Scene/ARoutine.hpp"
33 class MouseScrollInputEvent;
42 class SceneObjectFocusedEvent;
66 virtual void onUpdate(
float const delta)
override;
67 virtual bool onEvent(std::shared_ptr<Core::AEvent> event)
override;
73 void setLookSensitivity(
float sensitivity);
74 float getLookSensitivity()
const;
76 void setPanSensitivity(
float sensitivity);
77 float getPanSensitivity()
const;
79 void setZoomSensitivity(
float sensitivity);
80 float getZoomSensitivity()
const;
84 void updateFocusMove(
float const delta);
85 void updateCameraMode();
90 void handleMouseMovement();
91 void handleMousePan();
92 void handleMouseDrag();
93 void handleMouseLook();
94 void handleMouseOrbit();
100 float m_PanSensitivity;
101 float m_ZoomSensitivity;
102 float m_LookSensitivity;
103 float m_OrbitSensitivity;
112 bool m_IsMovingFocus;
113 float m_FocusElapsed;
118 float m_OrbitDistance;
virtual void onUpdate(float const delta) override
Definition: EditorCameraController.cpp:82
Definition: SceneObjectFocusedEvent.hpp:49
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: ARoutine.hpp:59
Definition: Vector2.hpp:44
Definition: EditorCameraController.hpp:55