InputEventGesture.xml 646 B

12345678910111213141516171819
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="InputEventGesture" inherits="InputEventWithModifiers" version="3.4">
  3. <brief_description>
  4. Base class for touch control gestures.
  5. </brief_description>
  6. <description>
  7. </description>
  8. <tutorials>
  9. </tutorials>
  10. <methods>
  11. </methods>
  12. <members>
  13. <member name="position" type="Vector2" setter="set_position" getter="get_position" default="Vector2( 0, 0 )">
  14. The local gesture position relative to the [Viewport]. If used in [method Control._gui_input], the position is relative to the current [Control] that received this gesture.
  15. </member>
  16. </members>
  17. <constants>
  18. </constants>
  19. </class>