Readonly
appendReadonly
axisReadonly
axisReadonly
axisReadonly
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
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.
Attach the given component to this node
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
Recreates this instance of Serializable with the information from the given Serialization.
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
Removes the given component from the node, if it was attached, and sets its parent to null.
Removes an event listener from the node. The signature must match the one used with addEventListener
Optional
_capture: booleanReturns a Serialization of this object.
Static
FINDStatic
PATH_
Represents a node in the scenetree.
Authors
Jascha Karagöl, HFU, 2019 | Jirka Dell'Oro-Friedl, HFU, 2019
Link
https://github.com/JirkaDellOro/FUDGE/wiki/Graph