InputEventPanGesture
Represents a panning touch gesture.
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.
Note: On Android, this requires the ProjectSettings.input_devices/pointing/android/enable_pan_and_scale_gestures project setting to be enabled.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
InputEventPanGestureConstructor
public InputEventPanGesture();Properties1
DeltaProperty
public Vector2 Delta { get; set; }Panning amount since last pan event.
Methods2
GetDeltaVector2
public Vector2 GetDelta();Returns
Vector2SetDeltavoid
public void SetDelta(Vector2 delta);| Name | Type | Default |
|---|---|---|
delta | Vector2 | — |
Reckfell Engine documentationBack to top ↑