mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-07 02:12:07 +03:00
52 lines
1.9 KiB
ReStructuredText
52 lines
1.9 KiB
ReStructuredText
.. _class_VisibilityNotifier2D:
|
|
|
|
VisibilityNotifier2D
|
|
====================
|
|
|
|
**Inherits:** :ref:`Node2D<class_node2d>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
|
|
|
|
**Inherited By:** :ref:`VisibilityEnabler2D<class_visibilityenabler2d>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+----------------------------+---------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_rect<class_VisibilityNotifier2D_set_rect>` **(** :ref:`Rect2<class_rect2>` rect **)** |
|
|
+----------------------------+---------------------------------------------------------------------------------------------------+
|
|
| :ref:`Rect2<class_rect2>` | :ref:`get_rect<class_VisibilityNotifier2D_get_rect>` **(** **)** const |
|
|
+----------------------------+---------------------------------------------------------------------------------------------------+
|
|
| :ref:`bool<class_bool>` | :ref:`is_on_screen<class_VisibilityNotifier2D_is_on_screen>` **(** **)** const |
|
|
+----------------------------+---------------------------------------------------------------------------------------------------+
|
|
|
|
Signals
|
|
-------
|
|
|
|
- **enter_screen** **(** **)**
|
|
- **enter_viewport** **(** :ref:`Object<class_object>` viewport **)**
|
|
- **exit_screen** **(** **)**
|
|
- **exit_viewport** **(** :ref:`Object<class_object>` viewport **)**
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_VisibilityNotifier2D_set_rect:
|
|
|
|
- void **set_rect** **(** :ref:`Rect2<class_rect2>` rect **)**
|
|
|
|
.. _class_VisibilityNotifier2D_get_rect:
|
|
|
|
- :ref:`Rect2<class_rect2>` **get_rect** **(** **)** const
|
|
|
|
.. _class_VisibilityNotifier2D_is_on_screen:
|
|
|
|
- :ref:`bool<class_bool>` **is_on_screen** **(** **)** const
|
|
|
|
|