reckfellENGINE

InputEventGesture

Abstract base class for touch gestures.

On this page
class InputEventGestureReckfellSharpInherits InputEventWithModifiers

Abstract base class for touch gestures.

InputEventGestures are sent when a user performs a supported gesture on a touch screen. Gestures can't be emulated using mouse, because they typically require multi-touch.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Properties1

PositionProperty
# Position
C#
public Vector2 Position { get; set; }

The local gesture position relative to the Viewport. If used in Control.GuiInput, the position is relative to the current Control that received this gesture.

Methods2

GetPositionVector2
# GetPosition
C#
public Vector2 GetPosition();
Returns Vector2
SetPositionvoid
# SetPosition
C#
public void SetPosition(Vector2 position);
Parameters
NameTypeDefault
positionVector2—
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.