123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the TouchScreenButton.xml source instead.
- .. The source is found in doc/classes or modules/<name>/doc_classes.
- .. _class_TouchScreenButton:
- TouchScreenButton
- =================
- **Inherits:** :ref:`Node2D<class_node2d>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
- **Category:** Core
- Brief Description
- -----------------
- Member Functions
- ----------------
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`String<class_string>` | :ref:`get_action<class_TouchScreenButton_get_action>` **(** **)** const |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`BitMap<class_bitmap>` | :ref:`get_bitmask<class_TouchScreenButton_get_bitmask>` **(** **)** const |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Shape2D<class_shape2d>` | :ref:`get_shape<class_TouchScreenButton_get_shape>` **(** **)** const |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Texture<class_texture>` | :ref:`get_texture<class_TouchScreenButton_get_texture>` **(** **)** const |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Texture<class_texture>` | :ref:`get_texture_pressed<class_TouchScreenButton_get_texture_pressed>` **(** **)** const |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`get_visibility_mode<class_TouchScreenButton_get_visibility_mode>` **(** **)** const |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`is_passby_press_enabled<class_TouchScreenButton_is_passby_press_enabled>` **(** **)** const |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`is_pressed<class_TouchScreenButton_is_pressed>` **(** **)** const |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`is_shape_centered<class_TouchScreenButton_is_shape_centered>` **(** **)** const |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`is_shape_visible<class_TouchScreenButton_is_shape_visible>` **(** **)** const |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_action<class_TouchScreenButton_set_action>` **(** :ref:`String<class_string>` action **)** |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_bitmask<class_TouchScreenButton_set_bitmask>` **(** :ref:`BitMap<class_bitmap>` bitmask **)** |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_passby_press<class_TouchScreenButton_set_passby_press>` **(** :ref:`bool<class_bool>` enabled **)** |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_shape<class_TouchScreenButton_set_shape>` **(** :ref:`Shape2D<class_shape2d>` shape **)** |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_shape_centered<class_TouchScreenButton_set_shape_centered>` **(** :ref:`bool<class_bool>` bool **)** |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_shape_visible<class_TouchScreenButton_set_shape_visible>` **(** :ref:`bool<class_bool>` bool **)** |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_texture<class_TouchScreenButton_set_texture>` **(** :ref:`Texture<class_texture>` texture **)** |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_texture_pressed<class_TouchScreenButton_set_texture_pressed>` **(** :ref:`Texture<class_texture>` texture_pressed **)** |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_visibility_mode<class_TouchScreenButton_set_visibility_mode>` **(** :ref:`int<class_int>` mode **)** |
- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- Signals
- -------
- - **pressed** **(** **)**
- - **released** **(** **)**
- Member Variables
- ----------------
- - :ref:`String<class_string>` **action**
- - :ref:`BitMap<class_bitmap>` **bitmask**
- - :ref:`Texture<class_texture>` **normal**
- - :ref:`bool<class_bool>` **passby_press**
- - :ref:`Texture<class_texture>` **pressed**
- - :ref:`Shape2D<class_shape2d>` **shape**
- - :ref:`bool<class_bool>` **shape_centered**
- - :ref:`bool<class_bool>` **shape_visible**
- - :ref:`int<class_int>` **visibility_mode**
- Numeric Constants
- -----------------
- - **VISIBILITY_ALWAYS** = **0**
- - **VISIBILITY_TOUCHSCREEN_ONLY** = **1**
- Member Function Description
- ---------------------------
- .. _class_TouchScreenButton_get_action:
- - :ref:`String<class_string>` **get_action** **(** **)** const
- .. _class_TouchScreenButton_get_bitmask:
- - :ref:`BitMap<class_bitmap>` **get_bitmask** **(** **)** const
- .. _class_TouchScreenButton_get_shape:
- - :ref:`Shape2D<class_shape2d>` **get_shape** **(** **)** const
- .. _class_TouchScreenButton_get_texture:
- - :ref:`Texture<class_texture>` **get_texture** **(** **)** const
- .. _class_TouchScreenButton_get_texture_pressed:
- - :ref:`Texture<class_texture>` **get_texture_pressed** **(** **)** const
- .. _class_TouchScreenButton_get_visibility_mode:
- - :ref:`int<class_int>` **get_visibility_mode** **(** **)** const
- .. _class_TouchScreenButton_is_passby_press_enabled:
- - :ref:`bool<class_bool>` **is_passby_press_enabled** **(** **)** const
- .. _class_TouchScreenButton_is_pressed:
- - :ref:`bool<class_bool>` **is_pressed** **(** **)** const
- .. _class_TouchScreenButton_is_shape_centered:
- - :ref:`bool<class_bool>` **is_shape_centered** **(** **)** const
- .. _class_TouchScreenButton_is_shape_visible:
- - :ref:`bool<class_bool>` **is_shape_visible** **(** **)** const
- .. _class_TouchScreenButton_set_action:
- - void **set_action** **(** :ref:`String<class_string>` action **)**
- .. _class_TouchScreenButton_set_bitmask:
- - void **set_bitmask** **(** :ref:`BitMap<class_bitmap>` bitmask **)**
- .. _class_TouchScreenButton_set_passby_press:
- - void **set_passby_press** **(** :ref:`bool<class_bool>` enabled **)**
- .. _class_TouchScreenButton_set_shape:
- - void **set_shape** **(** :ref:`Shape2D<class_shape2d>` shape **)**
- .. _class_TouchScreenButton_set_shape_centered:
- - void **set_shape_centered** **(** :ref:`bool<class_bool>` bool **)**
- .. _class_TouchScreenButton_set_shape_visible:
- - void **set_shape_visible** **(** :ref:`bool<class_bool>` bool **)**
- .. _class_TouchScreenButton_set_texture:
- - void **set_texture** **(** :ref:`Texture<class_texture>` texture **)**
- .. _class_TouchScreenButton_set_texture_pressed:
- - void **set_texture_pressed** **(** :ref:`Texture<class_texture>` texture_pressed **)**
- .. _class_TouchScreenButton_set_visibility_mode:
- - void **set_visibility_mode** **(** :ref:`int<class_int>` mode **)**
|