提交 b59e13e3 编写于 作者: R Ricardo Cabello

Merge pull request #6767 from BrianSipple/dev

Fixed minor typos on AreaLight documentation
......@@ -16,9 +16,9 @@
<h2>Example</h2>
<h2>Example</h2>
<div>[example:webgldeferred_arealights arealights ]</div>
<code>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 );</code>
<h3>[property:Vector3 right]</h3>
<div>
Sets or gets an unit vector that indicates the right side of the light. This is calculated in local space.
</div>
Sets or gets an unit vector that indicates the right side of the light. This is calculated in local space.
</div>
<h3>[property:Vector3 normal]</h3>
<div>
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>[property:number height]</h3>
<div>
Sets or gets the height of the illuminating plane.
</div>
Sets or gets the height of the illuminating plane.
</div>
<h3>[property:number width]</h3>
<div>
Sets or gets the width of the illuminating plane.
</div>
Sets or gets the width of the illuminating plane.
</div>
<h3>[property:Float intensity]</h3>
<div>
......@@ -72,19 +72,19 @@ scene.add( areaLight1 );</code>
<h3>[property:number constantAttenuation]</h3>
<div>
Sets or gets the attention of the light in constant space. This is independant of the distance of the light.
</div>
Sets or gets the attenuation of the light in constant space. This is independant of the distance of the light.
</div>
<h3>[property: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>
Sets or gets the attenuation of the light in linear space. This increases the attenuation linearly with the distance from the light.
</div>
<h3>[property: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>
Sets or gets the attenuation of the light in quadratic space. This increases the attenuation quadraticly with the distance from the light.
</div>
<h2>Source</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册