You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Document GPU particles visibility rect/aabb behavior
This commit is contained in:
@@ -71,7 +71,8 @@
|
|||||||
Particle texture. If [code]null[/code], particles will be squares.
|
Particle texture. If [code]null[/code], particles will be squares.
|
||||||
</member>
|
</member>
|
||||||
<member name="visibility_rect" type="Rect2" setter="set_visibility_rect" getter="get_visibility_rect" default="Rect2( -100, -100, 200, 200 )">
|
<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>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|||||||
@@ -123,7 +123,8 @@
|
|||||||
<member name="sub_emitter" type="NodePath" setter="set_sub_emitter" getter="get_sub_emitter" default="NodePath("")">
|
<member name="sub_emitter" type="NodePath" setter="set_sub_emitter" getter="get_sub_emitter" default="NodePath("")">
|
||||||
</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 node's region which needs to be visible on screen for the particle system to be active.
|
||||||
|
Grow the box if particles suddenly appear/disappear when the node enters/exits the screen. The [AABB] can be grown via code or with the [b]Particles → Generate AABB[/b] editor tool.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|||||||
Reference in New Issue
Block a user