mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
18 lines
792 B
XML
18 lines
792 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="InputEventPanGesture" inherits="InputEventGesture" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
Represents a panning touch gesture.
|
|
</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.
|
|
</description>
|
|
<tutorials>
|
|
<link title="Using InputEvent">$DOCS_URL/tutorials/inputs/inputevent.html</link>
|
|
</tutorials>
|
|
<members>
|
|
<member name="delta" type="Vector2" setter="set_delta" getter="get_delta" default="Vector2(0, 0)">
|
|
Panning amount since last pan event.
|
|
</member>
|
|
</members>
|
|
</class>
|