123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- .. 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_InputEventScreenTouch:
- InputEventScreenTouch
- =====================
- **Inherits:** :ref:`InputEvent<class_inputevent>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
- **Category:** Core
- Brief Description
- -----------------
- Input event type for screen touch events.
- Member Functions
- ----------------
- +--------------------------------+---------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`get_index<class_InputEventScreenTouch_get_index>` **(** **)** const |
- +--------------------------------+---------------------------------------------------------------------------------------------------------------+
- | :ref:`Vector2<class_vector2>` | :ref:`get_position<class_InputEventScreenTouch_get_position>` **(** **)** const |
- +--------------------------------+---------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_index<class_InputEventScreenTouch_set_index>` **(** :ref:`int<class_int>` index **)** |
- +--------------------------------+---------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_position<class_InputEventScreenTouch_set_position>` **(** :ref:`Vector2<class_vector2>` pos **)** |
- +--------------------------------+---------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_pressed<class_InputEventScreenTouch_set_pressed>` **(** :ref:`bool<class_bool>` pressed **)** |
- +--------------------------------+---------------------------------------------------------------------------------------------------------------+
- Member Variables
- ----------------
- - :ref:`int<class_int>` **index** - Touch event index in the case of a multi-touch event.
- - :ref:`Vector2<class_vector2>` **position** - Position of the touch event.
- - :ref:`bool<class_bool>` **pressed** - Pressed state of the touch event.
- Member Function Description
- ---------------------------
- .. _class_InputEventScreenTouch_get_index:
- - :ref:`int<class_int>` **get_index** **(** **)** const
- .. _class_InputEventScreenTouch_get_position:
- - :ref:`Vector2<class_vector2>` **get_position** **(** **)** const
- .. _class_InputEventScreenTouch_set_index:
- - void **set_index** **(** :ref:`int<class_int>` index **)**
- .. _class_InputEventScreenTouch_set_position:
- - void **set_position** **(** :ref:`Vector2<class_vector2>` pos **)**
- .. _class_InputEventScreenTouch_set_pressed:
- - void **set_pressed** **(** :ref:`bool<class_bool>` pressed **)**
|