Class: BaseNode

og/scene/BaseNode~BaseNode

Scene node base class.

new BaseNode(name)

Name Type Description
name string Node name.

Members

childNodesArray.<RenderNode>

Children nodes.

namestring

Node name.

parentNodeRenderNode

Parent node pointer.

topNodeRenderNode

Top scene tree node pointer.

Methods

protected_clear()

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

getNodeByName(name){RenderNode}

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