Bläddra i källkod

Add .castShadow property (#25136)

PointLight.castShadow property was missing. I copied it from the SpotLight page, but with a link to PointLightShadow.
Marquizzo 2 år sedan
förälder
incheckning
6ec615bd4f
1 ändrade filer med 7 tillägg och 0 borttagningar
  1. 7 0
      docs/api/en/lights/PointLight.html

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

@@ -51,6 +51,13 @@ scene.add( light );
 		<p>
 			See the base [page:Light Light] class for common properties.
 		</p>
+		
+		<h3>[property:Boolean castShadow]</h3>
+		<p>
+			If set to `true` light will cast dynamic shadows. *Warning*: This is expensive and
+			requires tweaking to get shadows looking right. See the [page:PointLightShadow] for details.
+			The default is `false`.
+		</p>
 
 		<h3>[property:Float decay]</h3>
 		<p>