C# Класс WaveEngine.Components.Gestures.GestureSample

Struct that holds the information of a gesture.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DeltaAngle float
DeltaScale float
DeltaTranslation Vector2
DiffScale float
IsNew bool
Position Vector2
Type GestureType

Описание свойств

DeltaAngle публичное свойство

Angle of the rotation between the latest and the current point
public float DeltaAngle
Результат float

DeltaScale публичное свойство

Scale of the gesture
public float DeltaScale
Результат float

DeltaTranslation публичное свойство

Translation vector between the latest and the current point
public Vector2 DeltaTranslation
Результат Vector2

DiffScale публичное свойство

Scale difference between the latest and the current point
public float DiffScale
Результат float

IsNew публичное свойство

If the point is new or it previously existing
public bool IsNew
Результат bool

Position публичное свойство

Position of the gesture.
public Vector2 Position
Результат Vector2

Type публичное свойство

Type of gesture.
public GestureType Type
Результат GestureType