Constructor
new RectAreaLight( color : number | Color | string, intensity : number, width : number, height : number )
Constructs a new area light.
| color |
The light's color. Default is |
| intensity |
The light's strength/intensity. Default is |
| width |
The width of the light. Default is |
| height |
The height of the light. Default is |
Properties
.height : number
The height of the light.
Default is 10.
.isRectAreaLight : boolean (readonly)
This flag can be used for type testing.
Default is true.
.power : number
The light's power. Power is the luminous power of the light measured in lumens (lm). Changing the power will also change the light's intensity.
.width : number
The width of the light.
Default is 10.