class_inputeventwithmodifiers.rst 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the InputEventWithModifiers.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_InputEventWithModifiers:
  6. InputEventWithModifiers
  7. =======================
  8. **Inherits:** :ref:`InputEvent<class_InputEvent>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. **Inherited By:** :ref:`InputEventGesture<class_InputEventGesture>`, :ref:`InputEventKey<class_InputEventKey>`, :ref:`InputEventMouse<class_InputEventMouse>`
  10. **Category:** Core
  11. Brief Description
  12. -----------------
  13. Base class for keys events with modifiers.
  14. Properties
  15. ----------
  16. +-------------------------+----------------------------------------------------------------+
  17. | :ref:`bool<class_bool>` | :ref:`alt<class_InputEventWithModifiers_property_alt>` |
  18. +-------------------------+----------------------------------------------------------------+
  19. | :ref:`bool<class_bool>` | :ref:`command<class_InputEventWithModifiers_property_command>` |
  20. +-------------------------+----------------------------------------------------------------+
  21. | :ref:`bool<class_bool>` | :ref:`control<class_InputEventWithModifiers_property_control>` |
  22. +-------------------------+----------------------------------------------------------------+
  23. | :ref:`bool<class_bool>` | :ref:`meta<class_InputEventWithModifiers_property_meta>` |
  24. +-------------------------+----------------------------------------------------------------+
  25. | :ref:`bool<class_bool>` | :ref:`shift<class_InputEventWithModifiers_property_shift>` |
  26. +-------------------------+----------------------------------------------------------------+
  27. Description
  28. -----------
  29. Contains keys events information with modifiers support like ``Shift`` or ``Alt``. See :ref:`Node._input<class_Node_method__input>`.
  30. Tutorials
  31. ---------
  32. - :doc:`../tutorials/inputs/inputevent`
  33. Property Descriptions
  34. ---------------------
  35. .. _class_InputEventWithModifiers_property_alt:
  36. - :ref:`bool<class_bool>` **alt**
  37. +----------+----------------+
  38. | *Setter* | set_alt(value) |
  39. +----------+----------------+
  40. | *Getter* | get_alt() |
  41. +----------+----------------+
  42. State of the ``Alt`` modifier.
  43. ----
  44. .. _class_InputEventWithModifiers_property_command:
  45. - :ref:`bool<class_bool>` **command**
  46. +----------+--------------------+
  47. | *Setter* | set_command(value) |
  48. +----------+--------------------+
  49. | *Getter* | get_command() |
  50. +----------+--------------------+
  51. State of the ``Command`` modifier.
  52. ----
  53. .. _class_InputEventWithModifiers_property_control:
  54. - :ref:`bool<class_bool>` **control**
  55. +----------+--------------------+
  56. | *Setter* | set_control(value) |
  57. +----------+--------------------+
  58. | *Getter* | get_control() |
  59. +----------+--------------------+
  60. State of the ``Ctrl`` modifier.
  61. ----
  62. .. _class_InputEventWithModifiers_property_meta:
  63. - :ref:`bool<class_bool>` **meta**
  64. +----------+--------------------+
  65. | *Setter* | set_metakey(value) |
  66. +----------+--------------------+
  67. | *Getter* | get_metakey() |
  68. +----------+--------------------+
  69. State of the ``Meta`` modifier.
  70. ----
  71. .. _class_InputEventWithModifiers_property_shift:
  72. - :ref:`bool<class_bool>` **shift**
  73. +----------+------------------+
  74. | *Setter* | set_shift(value) |
  75. +----------+------------------+
  76. | *Getter* | get_shift() |
  77. +----------+------------------+
  78. State of the ``Shift`` modifier.