Document GPU particles visibility rect/aabb behavior

This commit is contained in:
Andrii Doroshenko (Xrayez)
2021-01-16 17:13:33 +02:00
parent 3099f6fae4
commit b4675973fd
2 changed files with 4 additions and 2 deletions

View File

@ -71,7 +71,8 @@
Particle texture. If [code]null[/code], particles will be squares.
</member>
<member name="visibility_rect" type="Rect2" setter="set_visibility_rect" getter="get_visibility_rect" default="Rect2( -100, -100, 200, 200 )">
Editor visibility helper.
The [Rect2] that determines the node's region which needs to be visible on screen for the particle system to be active.
Grow the rect if particles suddenly appear/disappear when the node enters/exits the screen. The [Rect2] can be grown via code or with the [b]Particles → Generate Visibility Rect[/b] editor tool.
</member>
</members>
<constants>