0.44.0
|
#include <iComponents.h>
Public Attributes | |
iEntityID | _parent = IGOR_INVALID_ENTITY_ID |
int32 | _childCount = 0 |
int32 | _generation = 0 |
hierarchy component to create parent child relationships
int32 igor::iHierarchyComponent::_childCount = 0 |
counting how many child this entity has
int32 igor::iHierarchyComponent::_generation = 0 |
the higher the number the more generations are below it
this is used for sorting entities by hierarchy
iEntityID igor::iHierarchyComponent::_parent = IGOR_INVALID_ENTITY_ID |
parent entity id