Optional
color: ColorRepresentationOptional
intensity: numberReturns a clone of this
object and optionally all descendants.
Optional
recursive: booleanIf true, descendants of the object are also cloned. Default true
Color of the light. \
Copies value of all the properties from the source to this instance.
Fire an event type.
The event that gets fired.
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.
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 light's intensity, or strength. When legacy lighting mode is disabled, the units of intensity depend on the type of light.
Readonly
isObject'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.
Executes the callback on all ancestors.
Like traverse, but the callback will only be executed for visible objects
Object gets rendered if true
.
Moves the bounding box center of the object to the center of the world
Scales the object to fit the given radius.
Array with object's children.