Table of Contents

Class GestureEventComposite

Namespace
Stride.Input
Assembly
Stride.Input.dll

Event class for the Composite gesture.

public sealed class GestureEventComposite : GestureEvent
Inheritance
GestureEventComposite
Inherited Members

Properties

CenterBeginningPosition

The position of the center of the composite transformation at the beginning of the gesture (in normalized coordinates [0,1]).

public Vector2 CenterBeginningPosition { get; }

Property Value

Vector2

Remarks

The center of the transformation corresponds to the middle of the 2 fingers.

CenterCurrentPosition

The current position of the center of the composite transformation (in normalized coordinates [0,1]).

public Vector2 CenterCurrentPosition { get; }

Property Value

Vector2

Remarks

The center of the transformation corresponds to the middle of the 2 fingers.

DeltaRotation

The rotation angle (in radian) since the last event of the gesture.

public float DeltaRotation { get; }

Property Value

float

DeltaScale

The difference of scale since the last event of the gesture.

public float DeltaScale { get; }

Property Value

float

DeltaTranslation

The translation performed since the last event of the gesture.

public Vector2 DeltaTranslation { get; }

Property Value

Vector2

TotalRotation

The rotation angle (in radian) since the beginning of the gesture.

public float TotalRotation { get; }

Property Value

float

TotalScale

The difference of scale since the beginning of the gesture.

public float TotalScale { get; }

Property Value

float

TotalTranslation

The translation performed since the beginning of the gesture.

public Vector2 TotalTranslation { get; }

Property Value

Vector2