Inheritance: EventDispatcher → Object3D →
Abstract base class for lights - all other light types inherit the properties and methods described here.
Constructs a new light.
color
The light's color.
Default is 0xffffff.
intensity
The light's strength/intensity.
Default is 1.
The light's color.
The light's intensity.
Default is 1.
This flag can be used for type testing.
Default is true.
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.