Parent class of scene graph nodes.
nSceneNode objects can form complex hierarchies and cross-hierarchy dependencies.
- Command Input:
b(Active)
- Command Output:
v
- Command Description:
- Set to true if this node is active (default is true).
- Command Input:
v
- Command Output:
b(Active)
- Command Description:
- Return active flag.
- Command Input:
b(LockViewer)
- Command Output:
v
- Command Description:
- Set to true if this node's position is locked to the viewer.
- Command Input:
- Command Output:
b(LockViewer)
- Command Description:
- Return lock viewer flag.
- Command Input:
f(X), f(Y), f(Z)
- Command Output:
v
- Command Description:
- Set position of node.
- Command Input:
f(X)
- Command Output:
v
- Command Description:
- Set x position of node.
- Command Input:
f(Y)
- Command Output:
v
- Command Description:
- Set y position of node.
- Command Input:
f(Z)
- Command Output:
v
- Command Description:
- Set z position of node.
- Command Input:
v
- Command Output:
f(X), f(Y), f(Z)
- Command Description:
- Get position of node.
- Command Input:
f(X), f(Y), f(Z)
- Command Output:
v
- Command Description:
- Set euler orientation of the node as euler. Units are degree (not rad)
- Command Input:
f(X)
- Command Output:
v
- Command Description:
- Set X euler angle.
- Command Input:
f(Y)
- Command Output:
v
- Command Description:
- Set Y euler angle.
- Command Input:
f(Z)
- Command Output:
v
- Command Description:
- Set Z euler angle.
- Command Input:
v
- Command Output:
f(X), f(Y), f(Z)
- Command Description:
- Get the euler orientation of the node.
- Command Input:
f(X), f(Y), f(Z), f(W)
- Command Output:
v
- Command Description:
- Set the quaternion orientation of the node.
- Command Input:
v
- Command Output:
f(X), f(Y), f(Z), f(W)
- Command Description:
- Get quaternion orientation of the node.
- Command Input:
f(X), f(Y), f(Z)
- Command Output:
v
- Command Description:
- Set the scale of the node. Default is (1, 1, 1).
- Command Input:
f(X), f(Y), f(Z)
- Command Output:
v
- Command Description:
- Get the scale of the node.
- Command Input:
f(X), f(Y), f(Z)
- Command Output:
v
- Command Description:
- Set the optional pivot point for scaling.
- Command Input:
v
- Command Output:
f(X), f(Y), f(Z)
- Command Description:
- Get the optional pivot point for rotations.
- Command Input:
f(X), f(Y), f(Z)
- Command Output:
v
- Command Description:
- Set the optional pivot point for rotations.
- Command Input:
v
- Command Output:
f(X), f(Y), f(Z)
- Command Description:
- Get the optional pivot point for rotations.
- Command Input:
v
- Command Output:
b(HasScalePivotFlag)
- Command Description:
- Returns true if a scale pivot point has been set.
- Command Input:
v
- Command Output:
b(HasRotatePivotFlag)
- Command Description:
- Returns true if a rotate pivot point has been set.