Node::NeutralizeNode
Defined in:
Returns a node to the state it was in before being preprocessed.
C4Node.hPrototype
virtual void NeutralizeNode(void);
Description
The NeutralizeNode function returns a node to the state it was in before the Node::PreprocessNode function was called for it. Whenever a node is removed from a scene, it should first have its NeutralizeNode function called.When the
NeutralizeNode function is called for a node, it internally causes all of the subnodes of that node to be neutralized as well, in reverse order compared to the PreprocessNode function.Whenever a subclass implements an override for the
NeutralizeNode function, it should always call the NeutralizeNode function of its direct base class last.
See Also
