浏览代码

Update PointLightHelper.html

jox81 11 年之前
父节点
当前提交
7949e802ae
共有 1 个文件被更改,包括 14 次插入1 次删除
  1. 14 1
      docs/api/extras/helpers/PointLightHelper.html

+ 14 - 1
docs/api/extras/helpers/PointLightHelper.html

@@ -9,7 +9,20 @@
 	<body>
 		<h1>[name]</h1>
 
-		<div class="desc">todo</div>
+		<div class="desc">This display a helper for a pointLight </div>
+
+
+		<h2>Example</h2>
+
+
+		<code>var pointLight = new THREE.PointLight( 0xff0000, 1, 100 );
+		pointLight.position.set( 10, 10, 10 );
+		scene.add( pointLight );
+		
+		var sphereSize = 1;
+		var pointLightHelper = new THREE.PointLightHelper( pointLight, sphereSize ) 
+		scene.add( pointLightHelper );
+		</code>
 
 
 		<h2>Constructor</h2>