C4 Engine
C4 Engine API Documentation

Node::GetOwningZone

Defined in:  C4Node.h
Returns the most immediate zone containing a node.
Prototype

Zone *GetOwningZone(voidconst;

Description
The GetOwningZone function returns the most immediate zone containing a node. If the node is not inside a zone, then the return value is nullptr. If the node is a zone itself, then the containing zone is returned, not the zone for which this function is called.
See Also

Zone