浏览代码

Docs: Clean up. (#25141)

Michael Herzog 2 年之前
父节点
当前提交
a008a55a4f
共有 2 个文件被更改,包括 14 次插入0 次删除
  1. 7 0
      docs/api/it/lights/PointLight.html
  2. 7 0
      docs/api/zh/lights/PointLight.html

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

@@ -52,6 +52,13 @@ scene.add( light );
       Vedi la classe base [page:Light Light] per le proprietà comuni.
 		</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>
 			The amount the light dims along the distance of the light. Default is `2`.<br />

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

@@ -52,6 +52,13 @@
 			公共属性请查看基类[page:Light Light]。
 		</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>
 			The amount the light dims along the distance of the light. Default is `2`.<br />