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...
InputEventMagnifyGesture¶
Inherits: InputEventGesture < InputEventWithModifiers < InputEventFromWindow < InputEvent < Resource < RefCounted < Object
Represents a magnifying touch gesture.
描述¶
Stores the factor of a magnifying touch gesture. This is usually performed when the user pinches the touch screen and used for zooming in/out.
教程¶
属性¶
|
Property Descriptions¶
float factor = 1.0
The amount (or delta) of the event. This value is closer to 1.0
the slower the gesture is performed.