Class: Node

og.scene.Node

new og.scene.Node(name)

Scene node base class.
Name Type Description
name string Node name.

Members

childNodesArray.<og.scene.Node>

Children nodes.

namestring

Node name.

parentNodeog.scene.Node

Parent node pointer.

topNodeog.scene.Node

Top scene tree node pointer.

Methods

protected_clear()

Clear current node.
Adds node to the current hierarchy.
Destroy node.

getNodeByName(name){og.scene.Node}

Gets node by name in the current.
Name Type Description
name string Node name.
Returns:
Type Description
og.scene.Node Node object in the current node.