浏览代码

add light.power to docs.

Ben Houston 9 年之前
父节点
当前提交
08055e6a1a
共有 2 个文件被更改,包括 14 次插入0 次删除
  1. 7 0
      docs/api/lights/PointLight.html
  2. 7 0
      docs/api/lights/SpotLight.html

+ 7 - 0
docs/api/lights/PointLight.html

@@ -59,6 +59,13 @@ scene.add( light );</code>
 			Default - *1.0*.
 		</div>
 
+		<h3>[property:Float power]</h3>
+		<div>
+			Light's power.<br />
+			In "physical lights" mode, the luminous power of the light measured in lumens.<br/>
+			Default - *4PI*.
+		</div>
+
 		<h3>[property:Float distance]</h3>
 		<div>
 			If non-zero, light will attenuate linearly from maximum intensity at light *position* down to zero at *distance*.<br />

+ 7 - 0
docs/api/lights/SpotLight.html

@@ -81,6 +81,13 @@
 			Default — *1.0*.
 		</div>
 
+		<h3>[property:Float power]</h3>
+		<div>
+			Light's power.<br />
+			In "physical lights" mode, the luminous power of the light measured in lumens.<br/>
+			Default - *4PI*.
+		</div>
+
 		<h3>[property:Float distance]</h3>
 		<div>
 			If non-zero, light will attenuate linearly from maximum intensity at light *position* down to zero at *distance*.<br />