C4 Engine
C4 Engine API Documentation

Tree::GetLastSubnode

Defined in:  TSTree.h
Returns the last subnode of an object.
Prototype

type *GetLastSubnode(voidconst;

Description
The GetLastSubnode function returns the last direct subnode of an object is a tree. If the object has no subnodes, then the return value is nullptr.

All of the direct subnodes of an object are stored in a single linked list. To go from one subnode to the previous, starting with the last, the Tree::GetPreviousSubnode function should be called.
See Also

Tree::GetFirstSubnode

Tree::GetSuperNode

Tree::GetRootNode