|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Parent reference component. More...
#include <Hierarchy.hpp>
Public Member Functions | |
| Parent ()=default | |
| Parent (Entity e) | |
Public Attributes | |
| Entity | entity = INVALID_ENTITY |
| Parent entity ID. | |
Parent reference component.
Links an entity to its parent in the scene hierarchy. Used together with Children component to form a tree structure.
Definition at line 46 of file Hierarchy.hpp.
|
default |
|
inlineexplicit |
Definition at line 52 of file Hierarchy.hpp.
| Entity esengine::ecs::Parent::entity = INVALID_ENTITY |
Parent entity ID.
Definition at line 49 of file Hierarchy.hpp.
Referenced by Parent(), esengine::ecs::canvasRoots(), esengine::ecs::GroupOpacityLookup::of(), and parentToJS().