Root component structure for the ACE framework, serves as the base component.
More...
#include <transform_component.h>
|
static void | on_create_component (entt::registry &r, entt::entity e) |
| Called when the component is created.
|
|
static void | on_update_component (entt::registry &r, entt::entity e) |
| Called when the component is updated.
|
|
static void | on_destroy_component (entt::registry &r, entt::entity e) |
| Called when the component is destroyed.
|
|
|
uint64_t | order {} |
|
bool | eto {} |
| Disable empty type optimizations.
|
|
|
using | base |
|
void | touch () |
| Marks the component as 'touched'.
|
|
Root component structure for the ACE framework, serves as the base component.
Definition at line 17 of file transform_component.h.
◆ on_create_component()
void unravel::root_component::on_create_component |
( |
entt::registry & | r, |
|
|
entt::entity | e ) |
|
static |
Called when the component is created.
- Parameters
-
r | The registry containing the component. |
e | The entity associated with the component. |
Definition at line 53 of file transform_component.cpp.
◆ on_destroy_component()
void unravel::root_component::on_destroy_component |
( |
entt::registry & | r, |
|
|
entt::entity | e ) |
|
static |
Called when the component is destroyed.
- Parameters
-
r | The registry containing the component. |
e | The entity associated with the component. |
Definition at line 63 of file transform_component.cpp.
◆ on_update_component()
void unravel::root_component::on_update_component |
( |
entt::registry & | r, |
|
|
entt::entity | e ) |
|
static |
Called when the component is updated.
- Parameters
-
r | The registry containing the component. |
e | The entity associated with the component. |
Definition at line 58 of file transform_component.cpp.
◆ in_place_delete
bool unravel::root_component::in_place_delete = false |
|
staticconstexpr |
◆ order
uint64_t unravel::root_component::order {} |
The documentation for this struct was generated from the following files: