node
Adds a Node to the current Node as a child and then triggers the callback
Return
the newly created Node
Parameters
the callback that is invoked with a Node context in order to initialize any values
Adds the specified Node to the current Node as a child and then triggers the callback. This can be used for classes that extend node that perhaps they don't have a DSL method to initialize it.
Return
the newly created Node
Parameters
the node to add
the callback that is invoked with a Node context in order to initialize any values
Adds a Node to the current SceneGraph.root as a child and then triggers the Node
Return
the newly created Node
Parameters
the callback that is invoked with a Node context in order to initialize any values
Adds a Node to the current SceneGraph.root as a child and then triggers the Node. This can be used for classes that extend node that perhaps they don't have a DSL method to initialize it.
Return
the newly created Node
Parameters
the node to add
the callback that is invoked with a Node context in order to initialize any values