C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

Node::SetNodeFlags

Defined in:  C4Node.h
Sets the node flags.
Prototype

void SetNodeFlags(unsigned long flags);

Parameters
flags The new node flags.
Description
The SetNodeFlags function sets the node flags to the value given by the flags parameter, which can be a combination (through logical OR) of the following bit flags.
kNodeNonpersistent The node is skipped during world serialization.
kNodeDisabled The node is disabled (applies to most node types).
kNodeCloneInhibit The node is skipped during a cloning operation.
kNodeAnimateInhibit The node is not animated when attached to a model.
kNodeUnsharedObject The node's object should be replicated instead of shared when the node is replicated.
kNodeDirectEnableOnly The node can only be enabled or disabled by applying such an operation directly to the node, and not to a node above it in the scene graph.
See Also

Node::GetNodeFlags