class_touchscreenbutton.rst 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_TouchScreenButton:
  4. TouchScreenButton
  5. =================
  6. **Inherits:** :ref:`Node2D<class_node2d>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  13. | :ref:`String<class_string>` | :ref:`get_action<class_TouchScreenButton_get_action>` **(** **)** const |
  14. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`Object<class_object>` | :ref:`get_bitmask<class_TouchScreenButton_get_bitmask>` **(** **)** const |
  16. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  17. | :ref:`Object<class_object>` | :ref:`get_shape<class_TouchScreenButton_get_shape>` **(** **)** const |
  18. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  19. | :ref:`Object<class_object>` | :ref:`get_texture<class_TouchScreenButton_get_texture>` **(** **)** const |
  20. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  21. | :ref:`Object<class_object>` | :ref:`get_texture_pressed<class_TouchScreenButton_get_texture_pressed>` **(** **)** const |
  22. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  23. | :ref:`int<class_int>` | :ref:`get_visibility_mode<class_TouchScreenButton_get_visibility_mode>` **(** **)** const |
  24. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  25. | :ref:`bool<class_bool>` | :ref:`is_passby_press_enabled<class_TouchScreenButton_is_passby_press_enabled>` **(** **)** const |
  26. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  27. | :ref:`bool<class_bool>` | :ref:`is_pressed<class_TouchScreenButton_is_pressed>` **(** **)** const |
  28. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  29. | :ref:`bool<class_bool>` | :ref:`is_shape_centered<class_TouchScreenButton_is_shape_centered>` **(** **)** const |
  30. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  31. | :ref:`bool<class_bool>` | :ref:`is_shape_visible<class_TouchScreenButton_is_shape_visible>` **(** **)** const |
  32. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  33. | void | :ref:`set_action<class_TouchScreenButton_set_action>` **(** :ref:`String<class_string>` action **)** |
  34. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  35. | void | :ref:`set_bitmask<class_TouchScreenButton_set_bitmask>` **(** :ref:`Object<class_object>` bitmask **)** |
  36. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  37. | void | :ref:`set_passby_press<class_TouchScreenButton_set_passby_press>` **(** :ref:`bool<class_bool>` enabled **)** |
  38. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  39. | void | :ref:`set_shape<class_TouchScreenButton_set_shape>` **(** :ref:`Object<class_object>` shape **)** |
  40. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  41. | void | :ref:`set_shape_centered<class_TouchScreenButton_set_shape_centered>` **(** :ref:`bool<class_bool>` bool **)** |
  42. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  43. | void | :ref:`set_shape_visible<class_TouchScreenButton_set_shape_visible>` **(** :ref:`bool<class_bool>` bool **)** |
  44. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  45. | void | :ref:`set_texture<class_TouchScreenButton_set_texture>` **(** :ref:`Object<class_object>` texture **)** |
  46. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  47. | void | :ref:`set_texture_pressed<class_TouchScreenButton_set_texture_pressed>` **(** :ref:`Object<class_object>` texture_pressed **)** |
  48. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  49. | void | :ref:`set_visibility_mode<class_TouchScreenButton_set_visibility_mode>` **(** :ref:`int<class_int>` mode **)** |
  50. +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  51. Signals
  52. -------
  53. - **pressed** **(** **)**
  54. - **released** **(** **)**
  55. Member Function Description
  56. ---------------------------
  57. .. _class_TouchScreenButton_get_action:
  58. - :ref:`String<class_string>` **get_action** **(** **)** const
  59. .. _class_TouchScreenButton_get_bitmask:
  60. - :ref:`Object<class_object>` **get_bitmask** **(** **)** const
  61. .. _class_TouchScreenButton_get_shape:
  62. - :ref:`Object<class_object>` **get_shape** **(** **)** const
  63. .. _class_TouchScreenButton_get_texture:
  64. - :ref:`Object<class_object>` **get_texture** **(** **)** const
  65. .. _class_TouchScreenButton_get_texture_pressed:
  66. - :ref:`Object<class_object>` **get_texture_pressed** **(** **)** const
  67. .. _class_TouchScreenButton_get_visibility_mode:
  68. - :ref:`int<class_int>` **get_visibility_mode** **(** **)** const
  69. .. _class_TouchScreenButton_is_passby_press_enabled:
  70. - :ref:`bool<class_bool>` **is_passby_press_enabled** **(** **)** const
  71. .. _class_TouchScreenButton_is_pressed:
  72. - :ref:`bool<class_bool>` **is_pressed** **(** **)** const
  73. .. _class_TouchScreenButton_is_shape_centered:
  74. - :ref:`bool<class_bool>` **is_shape_centered** **(** **)** const
  75. .. _class_TouchScreenButton_is_shape_visible:
  76. - :ref:`bool<class_bool>` **is_shape_visible** **(** **)** const
  77. .. _class_TouchScreenButton_set_action:
  78. - void **set_action** **(** :ref:`String<class_string>` action **)**
  79. .. _class_TouchScreenButton_set_bitmask:
  80. - void **set_bitmask** **(** :ref:`Object<class_object>` bitmask **)**
  81. .. _class_TouchScreenButton_set_passby_press:
  82. - void **set_passby_press** **(** :ref:`bool<class_bool>` enabled **)**
  83. .. _class_TouchScreenButton_set_shape:
  84. - void **set_shape** **(** :ref:`Object<class_object>` shape **)**
  85. .. _class_TouchScreenButton_set_shape_centered:
  86. - void **set_shape_centered** **(** :ref:`bool<class_bool>` bool **)**
  87. .. _class_TouchScreenButton_set_shape_visible:
  88. - void **set_shape_visible** **(** :ref:`bool<class_bool>` bool **)**
  89. .. _class_TouchScreenButton_set_texture:
  90. - void **set_texture** **(** :ref:`Object<class_object>` texture **)**
  91. .. _class_TouchScreenButton_set_texture_pressed:
  92. - void **set_texture_pressed** **(** :ref:`Object<class_object>` texture_pressed **)**
  93. .. _class_TouchScreenButton_set_visibility_mode:
  94. - void **set_visibility_mode** **(** :ref:`int<class_int>` mode **)**