PerspectiveCameraUpdateSystem Class Template
Updates camera transforms for active perspective cameras. More...
Declaration
Public Member Typedefs Index
template <typename TMemberHandle> | |
| using | EngineRoleTag = TypedSystemRole |
|
Role tag used for runtime registration as a system. More... | |
Public Member Functions Index
template <typename TMemberHandle> | |
| void | update (UpdateContext &updateContext) noexcept |
|
Executes the camera update pass for all active camera entities. More... | |
Description
Updates camera transforms for active perspective cameras.
Recomputes LookAt and Perspective matrices only when the respective target components are marked as dirty.
- Template Parameters
-
TMemberHandle Camera entity handle type.
Although this system could be separated into to concurrently running systems, the regular use case for this system is that it only has to consider few camera entities per frames.
Definition at line 40 of file PerspectiveCameraUpdateSystem.ixx.
Public Member Typedefs
EngineRoleTag
|
Role tag used for runtime registration as a system.
Definition at line 47 of file PerspectiveCameraUpdateSystem.ixx.
Public Member Functions
update()
| inline noexcept |
Executes the camera update pass for all active camera entities.
- Parameters
-
updateContext Frame-local update context with ECS access.
Definition at line 54 of file PerspectiveCameraUpdateSystem.ixx.
Reference helios::engine::scene::registerComponents.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.