The methods of the SGNode class are listed here. For a complete list of SGNode class members, see SGNode class.
Name |
Description |
Adds a child node under the caller’s node. |
|
Removes a child node from the caller’s node. |
|
Returns the parent node of the caller’s node. |
|
Checks if there are child nodes under the caller’s node. |
|
Returns the first child node of the caller’s node. |
|
Returns the last child node of the caller’s node. |
|
Returns the next sibling node of the caller’s node. |
|
Returns a list of child nodes. |
|
Searches for a child node under the caller’s node. |
|
Sets the visibility of the caller’s node and all of its children. |
|
Returns the visibility status of the node. |
|
Sets the sort mode for the node. |
|
Saves the caller node and all its children as a fly layer. |
|
Loads a previously saved fly layer to the node. |
|
Returns the node position in the 3D world. |
|
Sets the position of the node in the 3D world. |
|
Attaches a message object to the caller’s node. |
|
Sets an attribute to the node. |
|
Returns a node attribute. |
|
Stores a data string (usually an XML) in the node. |
|
Returns a data string that was stored in the node. |
|
Returns the node type. |
|
Returns a number that represents the ID of the node. |
|
Returns the name of the node. |
|
Sets the name of the node. |
|
Returns true if the two nodes represent internally the same innerObj. |