C# Class WaveEngine.Components.Gestures.GestureSample

Struct that holds the information of a gesture.
Show file Open project: WaveEngine/Components Class Usage Examples

Public Properties

Property Type Description
DeltaAngle float
DeltaScale float
DeltaTranslation Vector2
DiffScale float
IsNew bool
Position Vector2
Type GestureType

Property Details

DeltaAngle public property

Angle of the rotation between the latest and the current point
public float DeltaAngle
return float

DeltaScale public property

Scale of the gesture
public float DeltaScale
return float

DeltaTranslation public property

Translation vector between the latest and the current point
public Vector2 DeltaTranslation
return Vector2

DiffScale public property

Scale difference between the latest and the current point
public float DiffScale
return float

IsNew public property

If the point is new or it previously existing
public bool IsNew
return bool

Position public property

Position of the gesture.
public Vector2 Position
return Vector2

Type public property

Type of gesture.
public GestureType Type
return GestureType