← API Reference Struct

asge::ecs::components::Hierarchy

An entity's place in the scene tree — one parent link plus a doubly-linked sibling list among that parent's children.

#include <Hierarchy.hpp>

Collaboration

classDiagram
    class N2["asge::ecs::Entity"]
    class N1["asge::ecs::components::Hierarchy"]
    N1 --> N2 : m_FirstChild
    click N2 href "structasge_1_1ecs_1_1Entity.html"
    click N1 href "structasge_1_1ecs_1_1components_1_1Hierarchy.html"

Built and maintained exclusively through AttachChild()/DetachChild(); an entity with no Hierarchy component, or one whose m_Parent is Entity::Null(), is a root as far as TransformPropagationSystem is concerned.

Public Attributes