diff --git a/docs/api/lights/AreaLight.html b/docs/api/lights/AreaLight.html index 8ad6d52df43a35f1ec96aa829741f80dcdb5b925..3980707c98a9479820a6c87cd86e13b3133e352f 100644 --- a/docs/api/lights/AreaLight.html +++ b/docs/api/lights/AreaLight.html @@ -9,12 +9,28 @@

[name]

-
todo
+
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]()

+

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

+
+ [page:Integer hex] — Numeric value of the RGB component of the color.
+ [page:Integer intensity] — The intensity of the light. +
+
+ This creates a arealight with color. +

Properties