|
@@ -1,10 +1,10 @@
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisibilityNotifier2D" inherits="Node2D" category="Core" version="3.0.alpha.custom_build">
|
|
<class name="VisibilityNotifier2D" inherits="Node2D" category="Core" version="3.0.alpha.custom_build">
|
|
<brief_description>
|
|
<brief_description>
|
|
- Detect when the node is visible on screen.
|
|
|
|
|
|
+ Detects when the node is visible on screen.
|
|
</brief_description>
|
|
</brief_description>
|
|
<description>
|
|
<description>
|
|
- The VisibilityNotifier2D is used to notify when its bounding rectangle enters the screen, is visible on the screen, or when it exits the screen.
|
|
|
|
|
|
+ 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.
|
|
</description>
|
|
</description>
|
|
<tutorials>
|
|
<tutorials>
|
|
</tutorials>
|
|
</tutorials>
|
|
@@ -15,14 +15,14 @@
|
|
<return type="Rect2">
|
|
<return type="Rect2">
|
|
</return>
|
|
</return>
|
|
<description>
|
|
<description>
|
|
- Return the visibility bounding rectangle of the VisibilityNotifier2D.
|
|
|
|
|
|
+ Returns the bounding rectangle of the VisibilityNotifier2D.
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="is_on_screen" qualifiers="const">
|
|
<method name="is_on_screen" qualifiers="const">
|
|
<return type="bool">
|
|
<return type="bool">
|
|
</return>
|
|
</return>
|
|
<description>
|
|
<description>
|
|
- Return true if any part of the bounding rectangle is on the screen.
|
|
|
|
|
|
+ If [code]true[/code] the bounding rectangle is on the screen.
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="set_rect">
|
|
<method name="set_rect">
|
|
@@ -37,6 +37,7 @@
|
|
</methods>
|
|
</methods>
|
|
<members>
|
|
<members>
|
|
<member name="rect" type="Rect2" setter="set_rect" getter="get_rect">
|
|
<member name="rect" type="Rect2" setter="set_rect" getter="get_rect">
|
|
|
|
+ The VisibilityNotifier2D's bounding rectangle.
|
|
</member>
|
|
</member>
|
|
</members>
|
|
</members>
|
|
<signals>
|
|
<signals>
|