Browse Source

Update AreaLight.html

gero3 11 years ago
parent
commit
4df8de1910
1 changed files with 17 additions and 17 deletions
  1. 17 17
      docs/api/lights/AreaLight.html

+ 17 - 17
docs/api/lights/AreaLight.html

@@ -42,43 +42,43 @@ scene.add( areaLight1 );</code>
 
 		<h3>.[page:Vector3 right]</h3>
 		<div>
-		todo
+		Sets or gets an unit vector that indicates the right side of the light. This is calculated in local space. 
 		</div> 
 
 		<h3>.[page:Vector3 normal]</h3>
 		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number quadraticAttenuation]</h3>
-		<div>
-		todo
+		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.
 		</div> 
 
 		<h3>.[page:number height]</h3>
 		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number linearAttenuation]</h3>
-		<div>
-		todo
+		Sets or gets the height of the illuminating plane. 
 		</div> 
 
 		<h3>.[page:number width]</h3>
 		<div>
-		todo
+		Sets or gets the width of the illuminating plane. 
 		</div> 
 
 		<h3>.[page:Float intensity]</h3>
 		<div>
-			Light's intensity.<br />
-			Default — *1.0*.
+		Light's intensity.<br />
+		Default — *1.0*.
 		</div>
 
 		<h3>.[page:number constantAttenuation]</h3>
 		<div>
-		todo
+		Sets or gets the attention of the light in constant space. This is independant of the distance of the light. 
+		</div> 
+
+		<h3>.[page:number linearAttenuation]</h3>
+		<div>
+		Sets or gets the attention of the light in linear space. This increases the attenuation linearly with the distance from the light.
+		</div> 
+
+		<h3>.[page:number quadraticAttenuation]</h3>
+		<div>
+		Sets or gets the attention of the light in linear space. This increases the attenuation quadratic with the distance from the light.
 		</div>