Object3D

Light

Abstract base class for lights.

Constructor

Light( color, intensity )

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

Color of the light.

.intensity

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.

.copy ( source )


Copies value of source to this Light object.

.toJSON ( meta )

Return Light data in JSON format.

Source

src/lights/Light.js
Edit