$rootNode property

bool $rootNode
getter/setter pair

Whether this node is a root node. If true, it will not be destroyed when depending nodes are destroyed.

Implementation

bool $rootNode = false;