1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- .. 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_InputEventAction:
- InputEventAction
- ================
- **Category:** Built-In Types
- Brief Description
- -----------------
- Member Functions
- ----------------
- +--------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`is_action<class_InputEventAction_is_action>` **(** :ref:`String<class_string>` action **)** |
- +--------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`is_action_pressed<class_InputEventAction_is_action_pressed>` **(** :ref:`String<class_string>` is_action_pressed **)** |
- +--------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`is_action_released<class_InputEventAction_is_action_released>` **(** :ref:`String<class_string>` is_action_released **)** |
- +--------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`is_echo<class_InputEventAction_is_echo>` **(** **)** |
- +--------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`is_pressed<class_InputEventAction_is_pressed>` **(** **)** |
- +--------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_as_action<class_InputEventAction_set_as_action>` **(** :ref:`String<class_string>` action, :ref:`bool<class_bool>` pressed **)** |
- +--------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
- Member Variables
- ----------------
- - :ref:`int<class_int>` **type**
- - :ref:`int<class_int>` **device**
- - :ref:`int<class_int>` **ID**
- Numeric Constants
- -----------------
- - **NONE** = **0**
- - **KEY** = **1**
- - **MOUSE_MOTION** = **2**
- - **MOUSE_BUTTON** = **3**
- - **JOYSTICK_MOTION** = **4**
- - **JOYSTICK_BUTTON** = **5**
- - **SCREEN_TOUCH** = **6**
- - **SCREEN_DRAG** = **7**
- - **ACTION** = **8**
- Member Function Description
- ---------------------------
- .. _class_InputEventAction_is_action:
- - :ref:`bool<class_bool>` **is_action** **(** :ref:`String<class_string>` action **)**
- .. _class_InputEventAction_is_action_pressed:
- - :ref:`bool<class_bool>` **is_action_pressed** **(** :ref:`String<class_string>` is_action_pressed **)**
- .. _class_InputEventAction_is_action_released:
- - :ref:`bool<class_bool>` **is_action_released** **(** :ref:`String<class_string>` is_action_released **)**
- .. _class_InputEventAction_is_echo:
- - :ref:`bool<class_bool>` **is_echo** **(** **)**
- .. _class_InputEventAction_is_pressed:
- - :ref:`bool<class_bool>` **is_pressed** **(** **)**
- .. _class_InputEventAction_set_as_action:
- - void **set_as_action** **(** :ref:`String<class_string>` action, :ref:`bool<class_bool>` pressed **)**
|