Bläddra i källkod

Added a note to .target, related to #5555

RunninglVlan 9 år sedan
förälder
incheckning
f3e774162e
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      docs/api/lights/SpotLight.html

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

@@ -70,7 +70,8 @@
 		<h3>[property:Object3D target]</h3>
 		<div>
 			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>
 	
 		<h3>[property:Float intensity]</h3>