igor::iHierarchyComponent Struct Reference

#include <iComponents.h>

Public Attributes

iEntityID _parent = IGOR_INVALID_ENTITY_ID
 
int32 _childCount = 0
 
int32 _generation = 0
 

Detailed Description

hierarchy component to create parent child relationships

Member Data Documentation

◆ _childCount

int32 igor::iHierarchyComponent::_childCount = 0

counting how many child this entity has

◆ _generation

int32 igor::iHierarchyComponent::_generation = 0

the higher the number the more generations are below it

this is used for sorting entities by hierarchy

◆ _parent

iEntityID igor::iHierarchyComponent::_parent = IGOR_INVALID_ENTITY_ID

parent entity id


The documentation for this struct was generated from the following file: