diff --git a/docs/api/lights/AreaLight.html b/docs/api/lights/AreaLight.html index 00dce8812778508e9b0c50bd85aff577afe2edba..e6e281188428fb0e7c4935e198c04e7d52d55ee5 100644 --- a/docs/api/lights/AreaLight.html +++ b/docs/api/lights/AreaLight.html @@ -16,9 +16,9 @@

Example

Example

- +
[example:webgldeferred_arealights arealights ]
- + areaLight1 = new THREE.AreaLight( 0xffffff, 1 ); areaLight1.position.set( 0.0001, 10.0001, -18.5001 ); areaLight1.rotation.set( -0.74719, 0.0001, 0.0001 ); @@ -46,23 +46,23 @@ scene.add( areaLight1 );

[property:Vector3 right]

- Sets or gets an unit vector that indicates the right side of the light. This is calculated in local space. -
+ Sets or gets an unit vector that indicates the right side of the light. This is calculated in local space. +

[property:Vector3 normal]

Sets or gets an unit vectorSets or gets an unit vector that indicates the right side of the light. This is calculated in local space. -
+

[property:number height]

- Sets or gets the height of the illuminating plane. -
+ Sets or gets the height of the illuminating plane. +

[property:number width]

- Sets or gets the width of the illuminating plane. -
+ Sets or gets the width of the illuminating plane. +

[property:Float intensity]

@@ -72,19 +72,19 @@ scene.add( areaLight1 );

[property:number constantAttenuation]

- Sets or gets the attention of the light in constant space. This is independant of the distance of the light. -
+ Sets or gets the attenuation of the light in constant space. This is independant of the distance of the light. +

[property:number linearAttenuation]

- Sets or gets the attention of the light in linear space. This increases the attenuation linearly with the distance from the light. -
+ Sets or gets the attenuation of the light in linear space. This increases the attenuation linearly with the distance from the light. +

[property:number quadraticAttenuation]

- Sets or gets the attention of the light in linear space. This increases the attenuation quadratic with the distance from the light. -
- + Sets or gets the attenuation of the light in quadratic space. This increases the attenuation quadraticly with the distance from the light. + +

Source

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