瀏覽代碼

Document enlarging Particles visibility AABB when they cast shadows

This closes https://github.com/godotengine/godot/issues/17267.
Hugo Locurcio 5 年之前
父節點
當前提交
0832ecc4a3
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      doc/classes/Particles.xml

+ 1 - 0
doc/classes/Particles.xml

@@ -103,6 +103,7 @@
 		</member>
 		<member name="visibility_aabb" type="AABB" setter="set_visibility_aabb" getter="get_visibility_aabb" default="AABB( -4, -4, -4, 8, 8, 8 )">
 			The [AABB] that determines the area of the world part of which needs to be visible on screen for the particle system to be active.
+			[b]Note:[/b] If the [ParticlesMaterial] in use is configured to cast shadows, you may want to enlarge this AABB to ensure the shadow is updated when particles are off-screen.
 		</member>
 	</members>
 	<constants>