C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

Node::Preprocess

Defined in:  C4Node.h
Performs any preprocessing that a node needs to do before being used in a world.
Prototype

virtual void Preprocess(void);

Description
The Preprocess function performs any preprocessing that a node needs to do before being used in a world. Whenever a node is added to a scene, it should subsequently be preprocessed. Calling the Node::AddNewSubnode function to add a node to a scene is equivalent to calling Tree::AddSubnode and following it with a call to Preprocess.

Whenever a subclass implements an override for the Preprocess function, it should always call the Preprocess function of its direct base class first.
See Also

Node::AddNewSubnode