reckfellENGINE

InputEventPanGesture

Represents a panning touch gesture.

On this page
class InputEventPanGestureReckfellSharpInherits InputEventGesture

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
# InputEventPanGesture
C#
public InputEventPanGesture();

Properties1

DeltaProperty
# Delta
C#
public Vector2 Delta { get; set; }

Panning amount since last pan event.

Methods2

GetDeltaVector2
# GetDelta
C#
public Vector2 GetDelta();
Returns Vector2
SetDeltavoid
# SetDelta
C#
public void SetDelta(Vector2 delta);
Parameters
NameTypeDefault
deltaVector2—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.