reckfellENGINE

InputEventMagnifyGesture

Represents a magnifying touch gesture.

On this page
class InputEventMagnifyGestureReckfellSharpInherits InputEventGesture

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. 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

InputEventMagnifyGestureConstructor
# InputEventMagnifyGesture
C#
public InputEventMagnifyGesture();

Properties1

FactorProperty
# Factor
C#
public float Factor { get; set; }

The amount (or delta) of the event. This value is closer to 1.0 the slower the gesture is performed.

Methods2

GetFactorfloat
# GetFactor
C#
public float GetFactor();
Returns float
SetFactorvoid
# SetFactor
C#
public void SetFactor(float factor);
Parameters
NameTypeDefault
factorfloat—
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.