class_inputeventscreendrag.rst 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the InputEventScreenDrag.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_InputEventScreenDrag:
  5. InputEventScreenDrag
  6. ====================
  7. **Inherits:** :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 screen drag events.
  12. (only available on mobile devices)
  13. Member Variables
  14. ----------------
  15. .. _class_InputEventScreenDrag_index:
  16. - :ref:`int<class_int>` **index** - Drag event index in the case of a multi-drag event.
  17. .. _class_InputEventScreenDrag_position:
  18. - :ref:`Vector2<class_vector2>` **position** - Drag position.
  19. .. _class_InputEventScreenDrag_relative:
  20. - :ref:`Vector2<class_vector2>` **relative** - Drag position relative to its start position.
  21. .. _class_InputEventScreenDrag_speed:
  22. - :ref:`Vector2<class_vector2>` **speed** - Drag speed.
  23. Description
  24. -----------
  25. Contains screen drag information. See :ref:`Node._input<class_Node__input>`.