Class Node¶
- Defined in File Node.hpp
Inheritance Relationships¶
Derived Types¶
public ari::Component(Class Component)public ari::Entity(Class Entity)
Class Documentation¶
-
class
Node¶ Subclassed by ari::Component, ari::Entity
Public Functions
-
Node()¶ Constructor.
-
virtual
~Node()¶ Destructor.
-
template <class T>
T *AddChild(T *child)¶ Adds a node as child.
-
template <class T>
T *GetChild()¶
-
template <class T>
voidRemoveChild(T *child)¶ Removes a child from this node.
- Parameters
child: The pointer to the child.
-
void
RemoveChildren(bool _delete = false)¶ Removes all children of this node.
-
void
Destroy(bool addToDestroyQueue = true)¶ Send the node to the destroy queue. It will be deleted in next two frame;
-
uint32_t
IsInDestroyQueue() const¶
-