소스 검색

Merge pull request #8049 from RunninglVlan/patch-2

Added a note to SpotLight.target, related to #5555
Mr.doob 9 년 전
부모
커밋
7a4f9c1e5b
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      docs/api/lights/SpotLight.html

+ 2 - 1
docs/api/lights/SpotLight.html

@@ -70,7 +70,8 @@
 		<h3>[property:Object3D target]</h3>
 		<h3>[property:Object3D target]</h3>
 		<div>
 		<div>
 			Spotlight focus points at target.position.<br />
 			Spotlight focus points at target.position.<br />
-			Default position — *(0,0,0)*.
+			Default position — *(0,0,0)*.<br />
+			*Note*: Currently for target property to work properly, it must be part of the [page:Scene scene], e.g. this will help: <code>scene.add( light.target )</code>
 		</div>
 		</div>
 	
 	
 		<h3>[property:Float intensity]</h3>
 		<h3>[property:Float intensity]</h3>