Browse Source

Merge pull request #39376 from Calinou/doc-particles-shadows-aabb

Document enlarging Particles visibility AABB when they cast shadows
Rémi Verschelde 5 năm trước cách đây
mục cha
commit
021d671889
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      doc/classes/Particles.xml

+ 1 - 0
doc/classes/Particles.xml

@@ -103,6 +103,7 @@
 		</member>
 		</member>
 		<member name="visibility_aabb" type="AABB" setter="set_visibility_aabb" getter="get_visibility_aabb" default="AABB( -4, -4, -4, 8, 8, 8 )">
 		<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.
 			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>
 		</member>
 	</members>
 	</members>
 	<constants>
 	<constants>