Readonly
appendSimply calls addChild. This reference is here solely because appendChild is the equivalent method in DOM. See and preferably use addChild
Readonly
mtxThe number of nodes of the whole branch including this node and all successors
The radius of the bounding sphere in world dimensions enclosing the geometry of this node and all successors in the branch
Shortcut to retrieve this nodes ComponentTransform
the number of the current frame
Shortcut to retrieve the local Matrix4x4 attached to this nodes ComponentTransform Fails if no ComponentTransform is attached
Returns the number of children attached to this
Adds the given reference to a node to the list of children, if not already in
Error when trying to add an ancestor of this
Adds the given reference to a node to the list of children at the given index. If it is already a child, it is moved to the new position.
Adds an event listener to the node. The given handler will be called when a matching event is passed to the node. Deviating from the standard EventTarget, here the _handler must be a function and _capture is the only option.
Optional
_capture: booleanAttach the given component to this node. Identical to addComponent
Detach the given component from this node. Identical to removeComponent
Dispatches a synthetic event to target. This implementation always returns true (standard: return true only if either event's cancelable attribute value is false or its preventDefault() method was not invoked) The event travels into the hierarchy to this node dispatching the event, invoking matching handlers of the nodes ancestors listening to the capture phase, than the matching handler of the target node in the target phase, and back out of the hierarchy in the bubbling phase, invoking appropriate handlers of the anvestors
Static
FINDStatic
PATH_
Handles the animation cycle of a sprite on a [[Node]]