Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
CameraMovement::System Namespace Reference

Functions

void CameraControlSystem (Engine::Core &core)
 System that controls the camera based on the active behavior.
void ResetCameraBehavior (Engine::Core &core)
 System that resets the camera behavior to default when requested.

Function Documentation

◆ CameraControlSystem()

void CameraMovement::System::CameraControlSystem ( Engine::Core & core)

System that controls the camera based on the active behavior.

This system runs in the Update scheduler and applies camera transformations based on user input and the selected camera behavior.

Parameters
coreThe engine core.

◆ ResetCameraBehavior()

void CameraMovement::System::ResetCameraBehavior ( Engine::Core & core)

System that resets the camera behavior to default when requested.

This system listens for a specific input (e.g., a key press) to reset the camera behavior to its default state.

Parameters
coreThe engine core.