summaryrefslogtreecommitdiffstats
path: root/doc/classes/VisibilityNotifier2D.xml
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-07-18 00:29:03 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-07-18 00:30:30 +0200
commitce57cc43dd9a2a540a5050e3023a13516599268e (patch)
treec7505fd5a0dfc243fd300f1b4aed8bcc094d9fe9 /doc/classes/VisibilityNotifier2D.xml
parent9e34ba48556b71f1f672b5be47d12b0e3f679b86 (diff)
downloadredot-engine-ce57cc43dd9a2a540a5050e3023a13516599268e.tar.gz
Improve the VisibilityNotifier and VisibilityEnabler class descriptions
Diffstat (limited to 'doc/classes/VisibilityNotifier2D.xml')
-rw-r--r--doc/classes/VisibilityNotifier2D.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/VisibilityNotifier2D.xml b/doc/classes/VisibilityNotifier2D.xml
index 391163ef94..314a100989 100644
--- a/doc/classes/VisibilityNotifier2D.xml
+++ b/doc/classes/VisibilityNotifier2D.xml
@@ -5,7 +5,8 @@
</brief_description>
<description>
The VisibilityNotifier2D detects when it is visible on the screen. It also notifies when its bounding rectangle enters or exits the screen or a viewport.
- [b]Note:[/b] For performance reasons, VisibilityNotifier2D uses an approximate heuristic with precision determined by [member ProjectSettings.world/2d/cell_size]. If you need exact visibility checking, use another method such as adding an [Area2D] node as a child of a [Camera2D] node.
+ If you want nodes to be disabled automatically when they exit the screen, use [VisibilityEnabler2D] instead.
+ [b]Note:[/b] For performance reasons, VisibilityNotifier2D uses an approximate heuristic with precision determined by [member ProjectSettings.world/2d/cell_size]. If you need precise visibility checking, use another method such as adding an [Area2D] node as a child of a [Camera2D] node.
</description>
<tutorials>
</tutorials>