The optional bones that build a skeleton for animations.
The bounding box of this tree node.
The bounding box of this tree node for each viewport. As there can be properties where tree nodes are excluded from the viewport, the bounding boxes may be different per viewport. The boundingBox property can be used as the general bounding box without any viewport specific exclusions.
The children of this tree node. Can be added and remove via addChild and removeChild.
The converted object of the tree node.
The data of this tree node. The data can include Geometry, Materials, Lights, Cameras, but also informational or custom data.
Can be added and remove via addData and removeData.
The viewports to exclude this tree node from.
The ID of the tree node.
If for this node, global intersection tests should be performed. (default: true)
The name of the tree node.
The matrix of the tree node. This is computed via all transformations in the transformations property.
The original ID of the tree node, if it was copied.
The viewports to restrict this tree node to.
Property to mark this node as a skin node. (default: false)
The transformation to be applied to this tree node.
The update callback for the tree node. This callback is called when the node is updated, e.g. when the version changes.
The update callback for the converted object of the tree node.
The version of the tree node. If the version changes, the node will be marked for an update. A version change can be triggered via updateVersion.
Option to make this tree node visible. (default: true)
The world matrix of the tree node. This includes also the transformations of all parents.
An optional name that can be used for display purposes. If not specified, the name property will be used.
The original name of the tree node, if one was supplied.
The parent of the tree node. This property is automatically managed by addChild and removeChild.
Add a child to the children of this node.
the child to add
Add a data item to node.
the data to add
Add a transformation to this node.
the transformation to add
Clones this node and all its children. The data objects like GeometryData, MaterialData, etc. are cloned as well. Depending on the size of the node and the amount of children, this can therefore be relatively slow.
Clones this node and all its children. The data objects like GeometryData, MaterialData, etc. are not copied in this case.
Returns the child with the specified id
Returns the data item with the specified id
Test this node and all it's descendants for nodes with the specified name and return them in an array.
Test this nodes name and all it's descendants name for nodes for the specified regex and return them in an array.
Return the path to this node with the original names. If no original name is set, the entry is left empty.
Return the path to this node.
Returns the transformation with the specified id
Check for existence of a child from the children of this node.
the child to check
Check for existence of a data item of this node.
the data item to check
Check for existence of a transformation of this node.
Remove a child from the children of this node.
the child to remove
Remove a data item from this node.
the data to remove
Remove a transformation from this node.
the transformation to remove
Traverse this node and all it's children and executes the callback for all data items of them
Update the version.
if true, the version of all parents will be updated as well (default: true)
if true, the version of all children will be updated as well (default: true)
The inverse matrices for the bones, if specified.