[name]

This illuminates the scene from a complete surface. This light only works in the [page:WebGLDeferredRenderer deferredrenderer].

Example

areaLight1 = new THREE.AreaLight( 0xffffff, 1 ); areaLight1.position.set( 0.0001, 10.0001, -18.5001 ); areaLight1.rotation.set( -0.74719, 0.0001, 0.0001 ); areaLight1.width = 10; areaLight1.height = 1; scene.add( areaLight1 );

Constructor

[name]( [page:Integer hex], [page:Float intensity])

[page:Integer hex] — Numeric value of the RGB component of the color.
[page:Float intensity] — Numeric value of the light's strength/intensity.
This creates a arealight with color.

Properties

.[page:Vector3 right]

todo

.[page:Vector3 normal]

todo

.[page:number quadraticAttenuation]

todo

.[page:number height]

todo

.[page:number linearAttenuation]

todo

.[page:number width]

todo

.[page:Float intensity]

Light's intensity.
Default — *1.0*.

.[page:number constantAttenuation]

todo

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]