Browse Source

Merge remote-tracking branch 'jox81/patch-1' into dev

Mr.doob 11 năm trước cách đây
mục cha
commit
af4873b449
1 tập tin đã thay đổi với 14 bổ sung1 xóa
  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>