Class: BaseNode

og/scene/BaseNode~BaseNode

Scene node base class.

new BaseNode(name)

Name Type Description
name string Node name.

Members

childNodesArray.<og.RenderNode>

Children nodes.

namestring

Node name.

parentNodeog.RenderNode

Parent node pointer.

topNodeog.RenderNode

Top scene tree node pointer.

Methods

protected_clear()

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

getNodeByName(name){og.RenderNode}

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