SHIP:Data Types:Node

From Serious Documentation
Jump to: navigation, search

See Also

Node

Data Type Description
Node Reference to a node.

In general, functions that require parameters of type Node must receive a value that is known at SHIPTide time, not a value that is dynamically assigned at run time. For example, the following statement will fail:

getChildIndex(getChild(myParent, index));    // fails instead of returning index

The above code is illegal since getChildIndex expects a static reference to a node, not one created at runtime through the getChild function.