Clarify when things with _IDLE and _PHYSICS enums will run

This commit is contained in:
L4Vo5
2023-05-31 20:38:19 -03:00
parent d7af287ce3
commit 01f887ee4f
9 changed files with 18 additions and 16 deletions

View File

@@ -92,10 +92,10 @@
</signals>
<constants>
<constant name="VISIBILITY_PROCESS_IDLE" value="0" enum="VisibilityUpdateMode">
Visibility filters are updated every idle process frame.
Visibility filters are updated during process frames (see [constant Node.NOTIFICATION_INTERNAL_PROCESS]).
</constant>
<constant name="VISIBILITY_PROCESS_PHYSICS" value="1" enum="VisibilityUpdateMode">
Visibility filters are updated every physics process frame.
Visibility filters are updated during physics frames (see [constant Node.NOTIFICATION_INTERNAL_PHYSICS_PROCESS]).
</constant>
<constant name="VISIBILITY_PROCESS_NONE" value="2" enum="VisibilityUpdateMode">
Visibility filters are not updated automatically, and must be updated manually by calling [method update_visibility].