Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

InputEventPanGesture

Inherits: InputEventGesture < InputEventWithModifiers < InputEventFromWindow < InputEvent < Resource < RefCounted < Object

Represents a panning touch gesture.

描述

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.

教程

属性

Vector2

delta

Vector2(0, 0)


Property Descriptions

Vector2 delta = Vector2(0, 0)

Panning amount since last pan event.