class_inputeventmidi.rst 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the InputEventMIDI.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_InputEventMIDI:
  6. InputEventMIDI
  7. ==============
  8. **Inherits:** :ref:`InputEvent<class_InputEvent>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +-----------------------+---------------------------------------------------------------------------+-------+
  12. | :ref:`int<class_int>` | :ref:`channel<class_InputEventMIDI_property_channel>` | ``0`` |
  13. +-----------------------+---------------------------------------------------------------------------+-------+
  14. | :ref:`int<class_int>` | :ref:`controller_number<class_InputEventMIDI_property_controller_number>` | ``0`` |
  15. +-----------------------+---------------------------------------------------------------------------+-------+
  16. | :ref:`int<class_int>` | :ref:`controller_value<class_InputEventMIDI_property_controller_value>` | ``0`` |
  17. +-----------------------+---------------------------------------------------------------------------+-------+
  18. | :ref:`int<class_int>` | :ref:`instrument<class_InputEventMIDI_property_instrument>` | ``0`` |
  19. +-----------------------+---------------------------------------------------------------------------+-------+
  20. | :ref:`int<class_int>` | :ref:`message<class_InputEventMIDI_property_message>` | ``0`` |
  21. +-----------------------+---------------------------------------------------------------------------+-------+
  22. | :ref:`int<class_int>` | :ref:`pitch<class_InputEventMIDI_property_pitch>` | ``0`` |
  23. +-----------------------+---------------------------------------------------------------------------+-------+
  24. | :ref:`int<class_int>` | :ref:`pressure<class_InputEventMIDI_property_pressure>` | ``0`` |
  25. +-----------------------+---------------------------------------------------------------------------+-------+
  26. | :ref:`int<class_int>` | :ref:`velocity<class_InputEventMIDI_property_velocity>` | ``0`` |
  27. +-----------------------+---------------------------------------------------------------------------+-------+
  28. Property Descriptions
  29. ---------------------
  30. .. _class_InputEventMIDI_property_channel:
  31. - :ref:`int<class_int>` **channel**
  32. +-----------+--------------------+
  33. | *Default* | ``0`` |
  34. +-----------+--------------------+
  35. | *Setter* | set_channel(value) |
  36. +-----------+--------------------+
  37. | *Getter* | get_channel() |
  38. +-----------+--------------------+
  39. ----
  40. .. _class_InputEventMIDI_property_controller_number:
  41. - :ref:`int<class_int>` **controller_number**
  42. +-----------+------------------------------+
  43. | *Default* | ``0`` |
  44. +-----------+------------------------------+
  45. | *Setter* | set_controller_number(value) |
  46. +-----------+------------------------------+
  47. | *Getter* | get_controller_number() |
  48. +-----------+------------------------------+
  49. ----
  50. .. _class_InputEventMIDI_property_controller_value:
  51. - :ref:`int<class_int>` **controller_value**
  52. +-----------+-----------------------------+
  53. | *Default* | ``0`` |
  54. +-----------+-----------------------------+
  55. | *Setter* | set_controller_value(value) |
  56. +-----------+-----------------------------+
  57. | *Getter* | get_controller_value() |
  58. +-----------+-----------------------------+
  59. ----
  60. .. _class_InputEventMIDI_property_instrument:
  61. - :ref:`int<class_int>` **instrument**
  62. +-----------+-----------------------+
  63. | *Default* | ``0`` |
  64. +-----------+-----------------------+
  65. | *Setter* | set_instrument(value) |
  66. +-----------+-----------------------+
  67. | *Getter* | get_instrument() |
  68. +-----------+-----------------------+
  69. ----
  70. .. _class_InputEventMIDI_property_message:
  71. - :ref:`int<class_int>` **message**
  72. +-----------+--------------------+
  73. | *Default* | ``0`` |
  74. +-----------+--------------------+
  75. | *Setter* | set_message(value) |
  76. +-----------+--------------------+
  77. | *Getter* | get_message() |
  78. +-----------+--------------------+
  79. ----
  80. .. _class_InputEventMIDI_property_pitch:
  81. - :ref:`int<class_int>` **pitch**
  82. +-----------+------------------+
  83. | *Default* | ``0`` |
  84. +-----------+------------------+
  85. | *Setter* | set_pitch(value) |
  86. +-----------+------------------+
  87. | *Getter* | get_pitch() |
  88. +-----------+------------------+
  89. ----
  90. .. _class_InputEventMIDI_property_pressure:
  91. - :ref:`int<class_int>` **pressure**
  92. +-----------+---------------------+
  93. | *Default* | ``0`` |
  94. +-----------+---------------------+
  95. | *Setter* | set_pressure(value) |
  96. +-----------+---------------------+
  97. | *Getter* | get_pressure() |
  98. +-----------+---------------------+
  99. ----
  100. .. _class_InputEventMIDI_property_velocity:
  101. - :ref:`int<class_int>` **velocity**
  102. +-----------+---------------------+
  103. | *Default* | ``0`` |
  104. +-----------+---------------------+
  105. | *Setter* | set_velocity(value) |
  106. +-----------+---------------------+
  107. | *Getter* | get_velocity() |
  108. +-----------+---------------------+
  109. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  110. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  111. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`