소스 검색

Update AreaLight.html

gero3 11 년 전
부모
커밋
4df8de1910
1개의 변경된 파일17개의 추가작업 그리고 17개의 파일을 삭제
  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>
 		<h3>.[page:Vector3 right]</h3>
 		<div>
 		<div>
-		todo
+		Sets or gets an unit vector that indicates the right side of the light. This is calculated in local space. 
 		</div> 
 		</div> 
 
 
 		<h3>.[page:Vector3 normal]</h3>
 		<h3>.[page:Vector3 normal]</h3>
 		<div>
 		<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> 
 		</div> 
 
 
 		<h3>.[page:number height]</h3>
 		<h3>.[page:number height]</h3>
 		<div>
 		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number linearAttenuation]</h3>
-		<div>
-		todo
+		Sets or gets the height of the illuminating plane. 
 		</div> 
 		</div> 
 
 
 		<h3>.[page:number width]</h3>
 		<h3>.[page:number width]</h3>
 		<div>
 		<div>
-		todo
+		Sets or gets the width of the illuminating plane. 
 		</div> 
 		</div> 
 
 
 		<h3>.[page:Float intensity]</h3>
 		<h3>.[page:Float intensity]</h3>
 		<div>
 		<div>
-			Light's intensity.<br />
-			Default — *1.0*.
+		Light's intensity.<br />
+		Default — *1.0*.
 		</div>
 		</div>
 
 
 		<h3>.[page:number constantAttenuation]</h3>
 		<h3>.[page:number constantAttenuation]</h3>
 		<div>
 		<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> 
 		</div>