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.
Checking the stable version of the documentation...
InputEventGesture
Eredita: InputEventWithModifiers < InputEventFromWindow < InputEvent < Resource < RefCounted < Object
Ereditato da: InputEventMagnifyGesture, InputEventPanGesture
Classe di base astratta per i gesti tattili.
Descrizione
Gli InputEventGesture sono inviati quando un utente esegue un gesto supportato su un touch screen. I gesti non possono essere emulati tramite mouse, perché in genere richiedono multi-touch.
Tutorial
Proprietà
device |
|
|
|
Descrizioni delle proprietà
Vector2 position = Vector2(0, 0) 🔗
La posizione del gesto locale relativa alla Viewport. Se utilizzato in Control._gui_input(), la posizione è relativa al Control attuale che ha ricevuto questo gesto.