class_inputeventwithmodifiers.rst 5.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the InputEventWithModifiers.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_InputEventWithModifiers:
  5. InputEventWithModifiers
  6. =======================
  7. **Inherits:** :ref:`InputEvent<class_inputevent>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  8. **Inherited By:** :ref:`InputEventKey<class_inputeventkey>`, :ref:`InputEventMouse<class_inputeventmouse>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. Base class for input events with modifiers.
  13. Member Functions
  14. ----------------
  15. +--------------------------+------------------------------------------------------------------------------------------------------------+
  16. | :ref:`bool<class_bool>` | :ref:`get_alt<class_InputEventWithModifiers_get_alt>` **(** **)** const |
  17. +--------------------------+------------------------------------------------------------------------------------------------------------+
  18. | :ref:`bool<class_bool>` | :ref:`get_command<class_InputEventWithModifiers_get_command>` **(** **)** const |
  19. +--------------------------+------------------------------------------------------------------------------------------------------------+
  20. | :ref:`bool<class_bool>` | :ref:`get_control<class_InputEventWithModifiers_get_control>` **(** **)** const |
  21. +--------------------------+------------------------------------------------------------------------------------------------------------+
  22. | :ref:`bool<class_bool>` | :ref:`get_metakey<class_InputEventWithModifiers_get_metakey>` **(** **)** const |
  23. +--------------------------+------------------------------------------------------------------------------------------------------------+
  24. | :ref:`bool<class_bool>` | :ref:`get_shift<class_InputEventWithModifiers_get_shift>` **(** **)** const |
  25. +--------------------------+------------------------------------------------------------------------------------------------------------+
  26. | void | :ref:`set_alt<class_InputEventWithModifiers_set_alt>` **(** :ref:`bool<class_bool>` enable **)** |
  27. +--------------------------+------------------------------------------------------------------------------------------------------------+
  28. | void | :ref:`set_command<class_InputEventWithModifiers_set_command>` **(** :ref:`bool<class_bool>` enable **)** |
  29. +--------------------------+------------------------------------------------------------------------------------------------------------+
  30. | void | :ref:`set_control<class_InputEventWithModifiers_set_control>` **(** :ref:`bool<class_bool>` enable **)** |
  31. +--------------------------+------------------------------------------------------------------------------------------------------------+
  32. | void | :ref:`set_metakey<class_InputEventWithModifiers_set_metakey>` **(** :ref:`bool<class_bool>` enable **)** |
  33. +--------------------------+------------------------------------------------------------------------------------------------------------+
  34. | void | :ref:`set_shift<class_InputEventWithModifiers_set_shift>` **(** :ref:`bool<class_bool>` enable **)** |
  35. +--------------------------+------------------------------------------------------------------------------------------------------------+
  36. Member Variables
  37. ----------------
  38. - :ref:`bool<class_bool>` **alt** - State of the Alt modifier.
  39. - :ref:`bool<class_bool>` **command** - State of the Command modifier.
  40. - :ref:`bool<class_bool>` **control** - State of the Ctrl modifier.
  41. - :ref:`bool<class_bool>` **meta** - State of the Meta modifier.
  42. - :ref:`bool<class_bool>` **shift** - State of the Shift modifier.
  43. Member Function Description
  44. ---------------------------
  45. .. _class_InputEventWithModifiers_get_alt:
  46. - :ref:`bool<class_bool>` **get_alt** **(** **)** const
  47. .. _class_InputEventWithModifiers_get_command:
  48. - :ref:`bool<class_bool>` **get_command** **(** **)** const
  49. .. _class_InputEventWithModifiers_get_control:
  50. - :ref:`bool<class_bool>` **get_control** **(** **)** const
  51. .. _class_InputEventWithModifiers_get_metakey:
  52. - :ref:`bool<class_bool>` **get_metakey** **(** **)** const
  53. .. _class_InputEventWithModifiers_get_shift:
  54. - :ref:`bool<class_bool>` **get_shift** **(** **)** const
  55. .. _class_InputEventWithModifiers_set_alt:
  56. - void **set_alt** **(** :ref:`bool<class_bool>` enable **)**
  57. .. _class_InputEventWithModifiers_set_command:
  58. - void **set_command** **(** :ref:`bool<class_bool>` enable **)**
  59. .. _class_InputEventWithModifiers_set_control:
  60. - void **set_control** **(** :ref:`bool<class_bool>` enable **)**
  61. .. _class_InputEventWithModifiers_set_metakey:
  62. - void **set_metakey** **(** :ref:`bool<class_bool>` enable **)**
  63. .. _class_InputEventWithModifiers_set_shift:
  64. - void **set_shift** **(** :ref:`bool<class_bool>` enable **)**