|
@@ -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>
|
|
|
|
|
|
|