godot/doc/classes/InputEventPanGesture.xml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
940 B
XML
Raw Normal View History

2017-11-24 22:16:30 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name="InputEventPanGesture" inherits="InputEventGesture" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
2017-11-24 22:16:30 +00:00
<brief_description>
Represents a panning touch gesture.
2017-11-24 22:16:30 +00:00
</brief_description>
<description>
Stores information about pan gestures. A pan gesture is performed when the user swipes the touch screen with two fingers. It's typically used for panning/scrolling.
[b]Note:[/b] On Android, this requires the [member ProjectSettings.input_devices/pointing/android/enable_pan_and_scale_gestures] project setting to be enabled.
2017-11-24 22:16:30 +00:00
</description>
<tutorials>
<link title="Using InputEvent">$DOCS_URL/tutorials/inputs/inputevent.html</link>
2017-11-24 22:16:30 +00:00
</tutorials>
<members>
<member name="delta" type="Vector2" setter="set_delta" getter="get_delta" default="Vector2(0, 0)">
2023-02-28 14:06:21 +00:00
Panning amount since last pan event.
2017-11-24 22:16:30 +00:00
</member>
</members>
</class>