class_inputeventaction.rst 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the InputEventAction.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_InputEventAction:
  5. InputEventAction
  6. ================
  7. **Inherits:** :ref:`InputEvent<class_inputevent>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Input event type for actions.
  12. Member Functions
  13. ----------------
  14. +------------------------------+-------------------------------------------------------------------------------------------------------+
  15. | :ref:`String<class_string>` | :ref:`get_action<class_InputEventAction_get_action>` **(** **)** const |
  16. +------------------------------+-------------------------------------------------------------------------------------------------------+
  17. | void | :ref:`set_action<class_InputEventAction_set_action>` **(** :ref:`String<class_string>` action **)** |
  18. +------------------------------+-------------------------------------------------------------------------------------------------------+
  19. | void | :ref:`set_pressed<class_InputEventAction_set_pressed>` **(** :ref:`bool<class_bool>` pressed **)** |
  20. +------------------------------+-------------------------------------------------------------------------------------------------------+
  21. Member Variables
  22. ----------------
  23. - :ref:`String<class_string>` **action**
  24. - :ref:`bool<class_bool>` **pressed**
  25. Member Function Description
  26. ---------------------------
  27. .. _class_InputEventAction_get_action:
  28. - :ref:`String<class_string>` **get_action** **(** **)** const
  29. .. _class_InputEventAction_set_action:
  30. - void **set_action** **(** :ref:`String<class_string>` action **)**
  31. .. _class_InputEventAction_set_pressed:
  32. - void **set_pressed** **(** :ref:`bool<class_bool>` pressed **)**