getName Method

Returns the name of the node.

getName();

Return Value

If the method succeeds, the return value is the node name. If the method fails, the return value is undefined. SGWorld.lastError contains the failure reason.

Remarks

The name of the node can be used later to search for it in the node tree hierarchy.

If the node name was not specified during its creation, Skyline Globe Control will invent a default name for it.