Skip to content

Commit 6ec615b

Browse files
authored
Add .castShadow property (#25136)
PointLight.castShadow property was missing. I copied it from the SpotLight page, but with a link to PointLightShadow.
1 parent f9403dc commit 6ec615b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/api/en/lights/PointLight.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ <h2>Properties</h2>
5151
<p>
5252
See the base [page:Light Light] class for common properties.
5353
</p>
54+
55+
<h3>[property:Boolean castShadow]</h3>
56+
<p>
57+
If set to `true` light will cast dynamic shadows. *Warning*: This is expensive and
58+
requires tweaking to get shadows looking right. See the [page:PointLightShadow] for details.
59+
The default is `false`.
60+
</p>
5461

5562
<h3>[property:Float decay]</h3>
5663
<p>

0 commit comments

Comments
 (0)