From 3ba4e6b2ac079c20d4e79f6e0d7dc1123ce49f25 Mon Sep 17 00:00:00 2001
From: CowThing
Date: Mon, 30 May 2016 15:05:27 -0400
Subject: Filling in documentation
VisibilityNotifier and VisibilityEnabler (2D and 3D).
---
doc/base/classes.xml | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 81adb78e5..e4b543405 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -42229,8 +42229,10 @@ This method controls whether the position between two cached points is interpola
+ Enable certain nodes only when visible.
+ The VisibilityEnabler will disable [RigidBody] and [AnimationPlayer] nodes when they are not visible. It will only affect other nodes within the same scene as the VisibilityEnabler itself.
@@ -42239,6 +42241,7 @@ This method controls whether the position between two cached points is interpola
+ Set an enabler to true for all nodes of its type to be disabled when the VisibilityEnabler is not in view. See the constants for enablers and what they affect.
@@ -42247,13 +42250,16 @@ This method controls whether the position between two cached points is interpola
+ Returns whether the specified enabler was set to true or not.
+ This enabler will freeze [RigidBody] nodes.
+ This enabler will pause [AnimationPlayer] nodes.
@@ -42261,8 +42267,10 @@ This method controls whether the position between two cached points is interpola
+ Enable certain nodes only when visible.
+ The VisibilityEnabler2D will disable [RigidBody2D], [AnimationPlayer], and other nodes when they are not visible. It will only affect other nodes within the same scene as the VisibilityEnabler2D itself.
@@ -42271,6 +42279,7 @@ This method controls whether the position between two cached points is interpola
+ Set an enabler to true for all nodes of its type to be disabled when the VisibilityEnabler2D is not in view. See the constants for enablers and what they affect.
@@ -42279,19 +42288,25 @@ This method controls whether the position between two cached points is interpola
+ Returns whether the specified enabler was set to true or not.
+ This enabler will freeze [RigidBody2D] nodes.
+ This enabler will pause [AnimationPlayer] nodes.
+ This enabler will stop [Particles2D] nodes.
+ This enabler will stop the parent's _process function.
+ This enabler will stop the parent's _fixed_process function.
@@ -42299,48 +42314,57 @@ This method controls whether the position between two cached points is interpola
+ Detect when the node is visible on screen.
+ The VisibilityNotifier is used to notify when its bounding box enters the screen, is visible on the screen, or when it exits the screen.
+ Set the visibility bounding box of the VisibilityNotifier.
+ Return the visibility bounding box of the VisibilityNotifier.
+ Return true if any part of the bounding box is on the screen.
+ Emitted when the VisibilityNotifier enters the screen.
+ Emitted when the VisibilityNotifier enters a [Camera]'s view.
+ Emitted when the VisibilityNotifier exits the screen.
+ Emitted when the VisibilityNotifier exits a [Camera]'s view.
@@ -42349,48 +42373,57 @@ This method controls whether the position between two cached points is interpola
+ Detect when the node is visible on screen.
+ The VisibilityNotifier2D is used to notify when its bounding rectangle enters the screen, is visible on the screen, or when it exits the screen.
+ Set the visibility bounding rectangle of the VisibilityNotifier2D.
+ Return the visibility bounding rectangle of the VisibilityNotifier2D.
+ Return true if any part of the bounding rectangle is on the screen.
+ Emitted when the VisibilityNotifier2D enters the screen.
+ Emitted when the VisibilityNotifier2D enters a [Viewport].
+ Emitted when the VisibilityNotifier2D exits the screen.
+ Emitted when the VisibilityNotifier2D exits a [Viewport].
--
cgit v1.3.1