Optionalcolor: ColorRepresentationOptionalintensity: numberArray with object's children.
Color of the light. \
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.
The light's intensity, or strength. The units of intensity depend on the type of light.
ReadonlyisObject's parent in the scene graph.
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.
Extension of three.js AmbientLight with additional properties for serialization and UI Ambient light globally illuminates all objects in the scene equally.
Note - gltf serialization is handled by GLTFLightExtrasExtension