spatial Namespace
Definition
namespace helios::engine::spatial { ... }
Namespaces Index
| namespace | components |
Functions Index
template <typename TEntityManager> | |
| void | registerComponents () |
|
Registers all spatial transform components with the ComponentReflector. More... | |
Functions
registerComponents()
template <typename TEntityManager>
| inline |
Registers all spatial transform components with the ComponentReflector.
Definition at line 20 of file registry.ixx.
20 inline void registerComponents() {
21 using R = helios::ecs::ComponentReflector<TEntityManager>;
22
23 R::template registerType<components::DimensionComponent<typename TEntityManager::Handle_type>>();
24 R::template registerType<components::TransformComponent<typename TEntityManager::Handle_type, Local>>();
25 R::template registerType<components::TransformComponent<typename TEntityManager::Handle_type, World>>();
26
27 }
Reference registerComponents.
Referenced by helios::engine::bootstrap::ComponentRegistrar< std::tuple< TEntityManagers... > >::registerComponents, helios::registerComponents, registerComponents and helios::engine::spatial::components::DimensionComponent< THandle >::setDimensions.
The documentation for this namespace was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.