System that processes camera entities, updating their orientation, movement, aspect ratio, and submitting camera matrices to the renderer.
More...
#include <CameraSystem.hpp>
|
| std::vector< Entity > | entities |
| | List of entities tracked by this system.
|
System that processes camera entities, updating their orientation, movement, aspect ratio, and submitting camera matrices to the renderer.
◆ CameraSystem()
Construct a new Camera System object.
- Parameters
-
| reg | Reference to the ECS Registry. |
| renderer | Reference to the Vulkan Renderer. |
| editorMode | Reference to the Editor Mode State. |
◆ update()
| void CameraSystem::update |
( |
float | dt | ) |
|
|
inlineoverridevirtual |
Updates the camera's rotation, movement, aspect ratio, and view-projection matrices.
- Parameters
-
Implements System.
◆ editorMode
Reference to the editor mode state.
◆ registry
Reference to the entity registry.
◆ renderer
Reference to the renderer.
The documentation for this class was generated from the following file: