Returns a clone of this
object and optionally all descendants.
Optional
recursive: booleanIf true, descendants of the object are also cloned. Default true
Optional
removeFromParent: booleanremove from parent. Default true
An instance of BufferGeometry (or derived classes), defining the object's structure.
Searches through an object and its children, starting with the object itself, and returns the first with a matching id.
Searches through an object and its children, starting with the object itself, and returns the first with a matching name.
String to match to the children's Object3D.name property.
Searches through an object and its children, starting with the object itself, and returns the first with a property that matches the value given.
Readonly
isAn instance of material derived from the Material base class or an array of materials, defining the object's appearance.
Readonly
materialsSame as material but always returns an array.
To set, just set material
property
Object's parent in the scene graph.
Group for info on manually grouping objects.
Dispatches 'objectUpdate' event on object.
Executes the callback on this object and all descendants.
A function with as first argument an Object3D object.
Executes the callback on all ancestors.
A function with as first argument an Object3D object.
Like traverse, but the callback will only be executed for visible objects
A function with as first argument an Object3D object.
An object that can be used to store custom data about the Object3D.
Array with object's children.