Parent class of scene graph nodes.
nSceneNode objects can form complex hierarchies and cross-hierarchy dependencies.
- Command Input:
s(AnimatorPath)
- Command Output:
v
- Command Description:
- Defines the relative path to an animator object, which is called to manipulate this object at render time.
- Command Input:
s(AnimatorPath)
- Command Output:
v
- Command Description:
- Removes an animator from the node's animator list
- Command Input:
v
- Command Output:
i(NumAnimators)
- Command Description:
- Returns the number of animators attached to this object.
- Command Input:
i(Index)
- Command Output:
s(AnimatorPath)
- Command Description:
- Returns relative path to animator at given index.
- Command Input:
v
- Command Output:
b(status)
- Command Description:
- Loads resources and returns status
- Command Input:
f(midX), f(midY), f(midZ), f(extentX), f(extentY), f(extentZ)
- Command Output:
v
- Command Description:
- Define the local bounding box. Shape nodes compute their bounding box automatically at load time. This method can be used to define bounding boxes for other nodes. This may be useful for higher level code like gameframeworks. Nebula itself only uses bounding boxes defined on shape nodes.
- Command Input:
v
- Command Output:
f(midX), f(midY), f(midZ), f(extentX), f(extentY), f(extentZ)
- Command Description:
- Return the local bounding box.
- Command Input:
i(RenderPri)
- Command Output:
v
- Command Description:
- Sets the render priority of the node. Should be between -127 and +127.
- Command Input:
v
- Command Output:
i(RenderPri)
- Command Description:
- Gets the render priority of the node.
- Command Input:
i(HintMask)
- Command Output:
v
- Command Description:
- Add one or more hint flags.
- Command Input:
i(HintMask)
- Command Output:
v
- Command Description:
- Clear one or more hint flags.
- Command Input:
v
- Command Output:
i(HintMask)
- Command Description:
- Get all currently set hint flags.
- Command Input:
i(HintMask)
- Command Output:
b(Success)
- Command Description:
- Return true if all hint flags in the mask are set.
- Command Input:
s(Name), i(Value)
- Command Output:
v
- Command Description:
- Set an int attribute on the node.
- Command Input:
s(Name)
- Command Output:
i(Value)
- Command Description:
- Get an int attribute from the node.
- Command Input:
s(Name), f(Value)
- Command Output:
v
- Command Description:
- Set a float attribute on the node.
- Command Input:
s(Name)
- Command Output:
f(Value)
- Command Description:
- Get a float attribute from the node.
- Command Input:
s(Name), b(Value)
- Command Output:
v
- Command Description:
- Set a bool attribute on the node.
- Command Input:
s(Name)
- Command Output:
b(Value)
- Command Description:
- Get a bool attribute from the node.
- Command Input:
s(Name), s(Value)
- Command Output:
v
- Command Description:
- Set a string attribute on the node.
- Command Input:
s(Name)
- Command Output:
S(Value)
- Command Description:
- Get a string attribute from the node.
- Command Input:
s(Name), f(X), f(Y), f(Z)
- Command Output:
v
- Command Description:
- Set a vector3 attribute on the node.
- Command Input:
s(Name)
- Command Output:
f(X), f(Y), f(Z)
- Command Description:
- Get a vector3 attribute from the node.
- Command Input:
s(Name), f(X), f(Y), f(Z), f(W)
- Command Output:
v
- Command Description:
- Set a vector4 attribute on the node.
- Command Input:
s(Name)
- Command Output:
f(X), f(Y), f(Z), f(W)
- Command Description:
- Get a vector4 attribute from the node.