Base class for scene graph objects
Gets rendered into shadow map.
Array with object's children.
Order of axis for Euler angles.
When this is set, it checks every frame if the object is in the frustum of the camera. Otherwise the object gets drawn every frame even if it isn't visible.
Unique number of this object instance.
Local transform.
When this is set, it calculates the matrix of position, (rotation or quaternion) and scale every frame and also recalculates the matrixWorld property.
The global transform of the object. If the Object3d has no parent, then it's identical to the local transform.
When this is set, it calculates the matrixWorld in that frame and resets this property to false.
Optional name of the object (doesn't need to be unique).
Object's parent in the scene graph.
Object's local position.
Global rotation.
Material gets baked in shadow receiving.
Override depth-sorting order if non null.
Object's local rotation (Euler angles), in radians.
When this is set, then the rotationMatrix gets calculated every frame.
Object's local scale.
Up direction.
Use quaternion instead of Euler angles for specifying local rotation.
An object that can be used to store custom data about the Object3d. It should not hold references to functions as these will not be cloned.
Object gets rendered if true.
Adds object as child of this object.
This updates the position, rotation and scale with the matrix.
Searches whole subgraph recursively to add all objects in the array.
optional argument that returns the the array with descendants.
Object3D[]
Searches through the object's children and returns the first with a matching id, optionally recursive.
Unique number of the object instance
Boolean whether to search through the children's children. Default is false.
Searches through the object's children and returns the first with a matching name, optionally recursive.
String to match to the children's Object3d.name property.
Boolean whether to search through the children's children. Default is false.
Updates the vector from local space to world space.
A local vector.
Rotates object to face point in space.
A world vector to look at.
Removes object as child of this object.
Rotate an object along an axis in object space. The axis is assumed to be normalized.
A normalized vector in object space.
The angle in radians.
A normalized vector in object space.
The distance to translate.
Translates object along x axis by distance.
Distance.
Translates object along y axis by distance.
Distance.
Translates object along z axis by distance.
Distance.
Translates object along arbitrary axis by distance.
Updates local transform.
Updates global transform of the object and its children.
Updates the vector from world space to local space.
A world vector.