class_inputeventmousemotion.rst 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the InputEventMouseMotion.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_InputEventMouseMotion:
  5. InputEventMouseMotion
  6. =====================
  7. **Inherits:** :ref:`InputEventMouse<class_InputEventMouse>` **<** :ref:`InputEventWithModifiers<class_InputEventWithModifiers>` **<** :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 mouse motion events.
  12. Properties
  13. ----------
  14. +-------------------------------+-------------------------------------------------------+
  15. | :ref:`Vector2<class_Vector2>` | :ref:`relative<class_InputEventMouseMotion_relative>` |
  16. +-------------------------------+-------------------------------------------------------+
  17. | :ref:`Vector2<class_Vector2>` | :ref:`speed<class_InputEventMouseMotion_speed>` |
  18. +-------------------------------+-------------------------------------------------------+
  19. Description
  20. -----------
  21. Contains mouse motion information. Supports relative, absolute positions and speed. See :ref:`Node._input<class_Node__input>`.
  22. Tutorials
  23. ---------
  24. - :doc:`../tutorials/inputs/mouse_and_input_coordinates`
  25. Property Descriptions
  26. ---------------------
  27. .. _class_InputEventMouseMotion_relative:
  28. - :ref:`Vector2<class_Vector2>` **relative**
  29. +----------+---------------------+
  30. | *Setter* | set_relative(value) |
  31. +----------+---------------------+
  32. | *Getter* | get_relative() |
  33. +----------+---------------------+
  34. Mouse position relative to the previous position (position at the last frame).
  35. .. _class_InputEventMouseMotion_speed:
  36. - :ref:`Vector2<class_Vector2>` **speed**
  37. +----------+------------------+
  38. | *Setter* | set_speed(value) |
  39. +----------+------------------+
  40. | *Getter* | get_speed() |
  41. +----------+------------------+
  42. Mouse speed.