Optional
_currentOptional
_currentOptional
_onOptional
geometryOptional
isOptional
isOptional
isOptional
isOptional
isReadonly
isFlag to check if a given object is of type Object3D.
Optional
isOptional
isOptional
materialOptional
Readonly
materialsSame as material but always returns an array.
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
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
Copy the given object into this object
Optional
recursive: booleanIf true, descendants of the object are also copied. Default true
Note: event listeners and user-defined callbacks (.onAfterRender and .onBeforeRender) are not copied.
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
pivotMoves the object pivot to the given point
The object will rotate around the new pivot.
undo function
Dispatches 'objectUpdate' event on object.
Optional
e: IObjectSetDirtyOptionsOptional
update
Array with object's children.