.. 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` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_action` **(** **)** const | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Object` | :ref:`get_bitmask` **(** **)** const | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Object` | :ref:`get_shape` **(** **)** const | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Object` | :ref:`get_texture` **(** **)** const | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Object` | :ref:`get_texture_pressed` **(** **)** const | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_visibility_mode` **(** **)** const | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_passby_press_enabled` **(** **)** const | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_pressed` **(** **)** const | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_shape_centered` **(** **)** const | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_shape_visible` **(** **)** const | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_action` **(** :ref:`String` action **)** | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_bitmask` **(** :ref:`Object` bitmask **)** | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_passby_press` **(** :ref:`bool` enabled **)** | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_shape` **(** :ref:`Object` shape **)** | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_shape_centered` **(** :ref:`bool` bool **)** | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_shape_visible` **(** :ref:`bool` bool **)** | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_texture` **(** :ref:`Object` texture **)** | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_texture_pressed` **(** :ref:`Object` texture_pressed **)** | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_visibility_mode` **(** :ref:`int` mode **)** | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+ Signals ------- - **pressed** **(** **)** - **released** **(** **)** Member Variables ---------------- - :ref:`String` **action** - :ref:`BitMap` **bitmask** - :ref:`Texture` **normal** - :ref:`bool` **passby_press** - :ref:`Texture` **pressed** - :ref:`Shape2D` **shape** - :ref:`bool` **shape_centered** - :ref:`bool` **shape_visible** - :ref:`int` **visibility_mode** Member Function Description --------------------------- .. _class_TouchScreenButton_get_action: - :ref:`String` **get_action** **(** **)** const .. _class_TouchScreenButton_get_bitmask: - :ref:`BitMap` **get_bitmask** **(** **)** const .. _class_TouchScreenButton_get_shape: - :ref:`Shape2D` **get_shape** **(** **)** const .. _class_TouchScreenButton_get_shape: - :ref:`Object` **get_shape** **(** **)** const .. _class_TouchScreenButton_get_texture: - :ref:`Texture` **get_texture** **(** **)** const .. _class_TouchScreenButton_get_texture_pressed: - :ref:`Texture` **get_texture_pressed** **(** **)** const .. _class_TouchScreenButton_get_visibility_mode: - :ref:`int` **get_visibility_mode** **(** **)** const .. _class_TouchScreenButton_is_passby_press_enabled: - :ref:`bool` **is_passby_press_enabled** **(** **)** const .. _class_TouchScreenButton_is_pressed: - :ref:`bool` **is_pressed** **(** **)** const .. _class_TouchScreenButton_is_shape_centered: - :ref:`bool` **is_shape_centered** **(** **)** const .. _class_TouchScreenButton_is_shape_visible: - :ref:`bool` **is_shape_visible** **(** **)** const .. _class_TouchScreenButton_set_action: - void **set_action** **(** :ref:`String` action **)** .. _class_TouchScreenButton_set_bitmask: - void **set_bitmask** **(** :ref:`BitMap` bitmask **)** .. _class_TouchScreenButton_set_passby_press: - void **set_passby_press** **(** :ref:`bool` enabled **)** .. _class_TouchScreenButton_set_shape: - void **set_shape** **(** :ref:`Object` shape **)** .. _class_TouchScreenButton_set_shape_centered: - void **set_shape_centered** **(** :ref:`bool` bool **)** .. _class_TouchScreenButton_set_shape_visible: - void **set_shape_visible** **(** :ref:`bool` bool **)** .. _class_TouchScreenButton_set_texture: - void **set_texture** **(** :ref:`Texture` texture **)** .. _class_TouchScreenButton_set_texture_pressed: - void **set_texture_pressed** **(** :ref:`Texture` texture_pressed **)** .. _class_TouchScreenButton_set_visibility_mode: - void **set_visibility_mode** **(** :ref:`int` mode **)**