C4 Engine Terathon Software C4 Engine API Documentation

• Utility Library

API Links
Developer Links

Tree::GetSuperNode

Defined in:  C4Tree.h
Returns the super node of an object.
Prototype

type *GetSuperNode(voidconst;

Description
The GetSuperNode function returns the direct super node above an object in a tree. If the object is the root of a tree, then the return value is nullptr.
See Also

Tree::GetRootNode

Tree::Successor

Tree::GetFirstSubnode

Tree::GetNextNode