Object3D →
Light
Abstract base class for lights.
Constructor
color — Numeric value of the RGB component of the color.
intensity — Numeric value of the light's strength/intensity.
This creates a light with color and intensity.
Properties
See the base Object3D class for common properties.
Color of the light.
Light's intensity.
In "physically correct" mode, the product of color * intensity is interpreted as luminous intensity measured in candela.
Default — 1.0.
Methods
See the base Object3D class for common methods.
Copies value of source to this Light object.
Return Light data in JSON format.
Source
src/lights/Light.js
Edit