123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
- .. _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:`Object<class_object>` | :ref:`get_bitmask<class_TouchScreenButton_get_bitmask>` **(** **)** const |
- +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Object<class_object>` | :ref:`get_shape<class_TouchScreenButton_get_shape>` **(** **)** const |
- +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Object<class_object>` | :ref:`get_texture<class_TouchScreenButton_get_texture>` **(** **)** const |
- +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Object<class_object>` | :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:`Object<class_object>` 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:`Object<class_object>` 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:`Object<class_object>` texture **)** |
- +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_texture_pressed<class_TouchScreenButton_set_texture_pressed>` **(** :ref:`Object<class_object>` texture_pressed **)** |
- +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_visibility_mode<class_TouchScreenButton_set_visibility_mode>` **(** :ref:`int<class_int>` mode **)** |
- +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- Signals
- -------
- - **pressed** **(** **)**
- - **released** **(** **)**
- Member Function Description
- ---------------------------
- .. _class_TouchScreenButton_get_action:
- - :ref:`String<class_string>` **get_action** **(** **)** const
- .. _class_TouchScreenButton_get_bitmask:
- - :ref:`Object<class_object>` **get_bitmask** **(** **)** const
- .. _class_TouchScreenButton_get_shape:
- - :ref:`Object<class_object>` **get_shape** **(** **)** const
- .. _class_TouchScreenButton_get_texture:
- - :ref:`Object<class_object>` **get_texture** **(** **)** const
- .. _class_TouchScreenButton_get_texture_pressed:
- - :ref:`Object<class_object>` **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:`Object<class_object>` bitmask **)**
- .. _class_TouchScreenButton_set_passby_press:
- - void **set_passby_press** **(** :ref:`bool<class_bool>` enabled **)**
- .. _class_TouchScreenButton_set_shape:
- - void **set_shape** **(** :ref:`Object<class_object>` 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:`Object<class_object>` texture **)**
- .. _class_TouchScreenButton_set_texture_pressed:
- - void **set_texture_pressed** **(** :ref:`Object<class_object>` texture_pressed **)**
- .. _class_TouchScreenButton_set_visibility_mode:
- - void **set_visibility_mode** **(** :ref:`int<class_int>` mode **)**
|