Optional
_Optional
_Optional
_Optional
_Optional
acceptSet to false
to disable propagation of any events from its children.
Optional
autoSet to false
to disable automatic call of upgradeObject3D
when a child is added.
Optional
boundingFor InstancedMesh, SkinnedMesh etc
Optional
boundingFor InstancedMesh, SkinnedMesh etc
Array with object's children.
Optional
geometryOptional
isReadonly
isRead-only flag to check if a given object is of type HemisphereLight.
Optional
isOptional
isOptional
isOptional
isOptional
isOptional
isOptional
isOptional
isOptional
materialOptional
Readonly
materialsSame as material but always returns an array.
To set, just set material
property
Optional
morphOptional
morphOptional
objectObject's parent in the scene graph.
Optional
parentParent/Ancestor of this object to bubble events to. This is set internally by setupObject3D.
Optional
targetOptional
uiAn object that can be used to store custom data about the Object3D.
Optional
autoMoves the bounding box center of the object to the center of the world
Optional
setDirty: booleancalls setDirty
Optional
undo: booleanundo any previous autoCenter operation
Optional
autoScales the object to fit the given radius.
Optional
autoScaleRadius: numberoptional (taken from userData.autoScaleRadius by default)
Optional
isCentered: booleanoptional (taken from userData.isCentered by default)
Optional
setDirty: booleantrue by default
Optional
undo: booleanundo any previous autoScale operation
Returns a clone of this
object and optionally all descendants.
Optional
recursive: booleanIf true, descendants of the object are also cloned. Default true
Optional
computeFor InstancedMesh, SkinnedMesh etc Computes bounding box, updating .boundingBox attribute.
Optional
computeFor InstancedMesh, SkinnedMesh etc Computes bounding sphere, updating .boundingSphere attribute.
Optional
computeFor LineSegments, Line2 etc
Copies value of all the properties from the source to this instance.
Optional
recursive: booleanOptional
distanceFromTarget: numberOptional
worldSpace: booleanOptional
removeFromParent: booleanremove from parent. Default true
Searches through an object and its children, starting with the object itself, and returns the first with a matching id.
Unique number of the object instance. Expects a Integer
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.
the property name to search for.
value of the given property.
Optional
pivotMoves the object pivot to the center of the bounding box.
The object will rotate around the new pivot.
Optional
setDirty: booleancalls setDirty
undo function
Optional
pivotGroup for info on manually grouping objects.
Optional
update
A promise can be set by the object to indicate that the object is loading. This can be used by the scene, viewer, plugins to defer actions until the object is loaded.