|
Engine²
Open-source game engine written in C++.
|
Camera behavior that does not move the camera. More...
#include <DontMoveBehavior.hpp>
Public Member Functions | |
| DontMoveBehavior ()=default | |
| ~DontMoveBehavior () override=default | |
| void | Update (Engine::Core &core, Resource::CameraManager &manager, Object::Component::Transform &transform, Object::Component::Camera &camera, float deltaTime) override |
| Update the camera behavior. | |
| Public Member Functions inherited from CameraMovement::Utils::ICameraBehavior | |
| ICameraBehavior ()=default | |
| ICameraBehavior (Engine::Core &) | |
| Optional constructor that receives the engine core. | |
| virtual | ~ICameraBehavior ()=default |
Camera behavior that does not move the camera.
|
default |
|
overridedefault |
|
inlineoverridevirtual |
Update the camera behavior.
| core | The engine core. |
| manager | The camera manager. |
| transform | The transform component of the camera. |
| camera | The camera component. |
| deltaTime | The time elapsed since the last frame. |
Implements CameraMovement::Utils::ICameraBehavior.