class_inputeventwithmodifiers.rst 5.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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_InputEventWithModifiers:
  4. InputEventWithModifiers
  5. =======================
  6. **Inherits:** :ref:`InputEvent<class_inputevent>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  7. **Inherited By:** :ref:`InputEventKey<class_inputeventkey>`, :ref:`InputEventMouse<class_inputeventmouse>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Base class for input events with modifiers.
  12. Member Functions
  13. ----------------
  14. +--------------------------+------------------------------------------------------------------------------------------------------------+
  15. | :ref:`bool<class_bool>` | :ref:`get_alt<class_InputEventWithModifiers_get_alt>` **(** **)** const |
  16. +--------------------------+------------------------------------------------------------------------------------------------------------+
  17. | :ref:`bool<class_bool>` | :ref:`get_command<class_InputEventWithModifiers_get_command>` **(** **)** const |
  18. +--------------------------+------------------------------------------------------------------------------------------------------------+
  19. | :ref:`bool<class_bool>` | :ref:`get_control<class_InputEventWithModifiers_get_control>` **(** **)** const |
  20. +--------------------------+------------------------------------------------------------------------------------------------------------+
  21. | :ref:`bool<class_bool>` | :ref:`get_metakey<class_InputEventWithModifiers_get_metakey>` **(** **)** const |
  22. +--------------------------+------------------------------------------------------------------------------------------------------------+
  23. | :ref:`bool<class_bool>` | :ref:`get_shift<class_InputEventWithModifiers_get_shift>` **(** **)** const |
  24. +--------------------------+------------------------------------------------------------------------------------------------------------+
  25. | void | :ref:`set_alt<class_InputEventWithModifiers_set_alt>` **(** :ref:`bool<class_bool>` enable **)** |
  26. +--------------------------+------------------------------------------------------------------------------------------------------------+
  27. | void | :ref:`set_command<class_InputEventWithModifiers_set_command>` **(** :ref:`bool<class_bool>` enable **)** |
  28. +--------------------------+------------------------------------------------------------------------------------------------------------+
  29. | void | :ref:`set_control<class_InputEventWithModifiers_set_control>` **(** :ref:`bool<class_bool>` enable **)** |
  30. +--------------------------+------------------------------------------------------------------------------------------------------------+
  31. | void | :ref:`set_metakey<class_InputEventWithModifiers_set_metakey>` **(** :ref:`bool<class_bool>` enable **)** |
  32. +--------------------------+------------------------------------------------------------------------------------------------------------+
  33. | void | :ref:`set_shift<class_InputEventWithModifiers_set_shift>` **(** :ref:`bool<class_bool>` enable **)** |
  34. +--------------------------+------------------------------------------------------------------------------------------------------------+
  35. Member Variables
  36. ----------------
  37. - :ref:`bool<class_bool>` **alt** - State of the Alt modifier.
  38. - :ref:`bool<class_bool>` **command** - State of the Command modifier.
  39. - :ref:`bool<class_bool>` **control** - State of the Ctrl modifier.
  40. - :ref:`bool<class_bool>` **meta** - State of the Meta modifier.
  41. - :ref:`bool<class_bool>` **shift** - State of the Shift modifier.
  42. Member Function Description
  43. ---------------------------
  44. .. _class_InputEventWithModifiers_get_alt:
  45. - :ref:`bool<class_bool>` **get_alt** **(** **)** const
  46. .. _class_InputEventWithModifiers_get_command:
  47. - :ref:`bool<class_bool>` **get_command** **(** **)** const
  48. .. _class_InputEventWithModifiers_get_control:
  49. - :ref:`bool<class_bool>` **get_control** **(** **)** const
  50. .. _class_InputEventWithModifiers_get_metakey:
  51. - :ref:`bool<class_bool>` **get_metakey** **(** **)** const
  52. .. _class_InputEventWithModifiers_get_shift:
  53. - :ref:`bool<class_bool>` **get_shift** **(** **)** const
  54. .. _class_InputEventWithModifiers_set_alt:
  55. - void **set_alt** **(** :ref:`bool<class_bool>` enable **)**
  56. .. _class_InputEventWithModifiers_set_command:
  57. - void **set_command** **(** :ref:`bool<class_bool>` enable **)**
  58. .. _class_InputEventWithModifiers_set_control:
  59. - void **set_control** **(** :ref:`bool<class_bool>` enable **)**
  60. .. _class_InputEventWithModifiers_set_metakey:
  61. - void **set_metakey** **(** :ref:`bool<class_bool>` enable **)**
  62. .. _class_InputEventWithModifiers_set_shift:
  63. - void **set_shift** **(** :ref:`bool<class_bool>` enable **)**