A data container class to store extra meta data about the completed gesture More...
Static Public Member Functions | |
static GestureMetaData | GetGestureMetaData (List< GTransform > transforms) |
Static helper method to convert a list of transforms into a partially complete GestureMetaData object More... | |
Public Attributes | |
Vector3 | scale |
The scale of the gesture in world-space More... | |
Vector3 | centroid |
The center of the gesture in world-space More... | |
string | name = "NO_GESTURE" |
The name of the completed gesture. More... | |
int | pointCount |
The number of points used to draw the gesture More... | |
float | time |
The total time it took to draw the gesture More... | |
float | precision |
A measure of how close a gesture was to the exact definition. A perfect gesture has a precision of 0, a gesture that barely passes has a precision of 1 More... | |
float | averageSpeed = 0.0f |
The average speed of the user's hand over the course of the gesture More... | |
A data container class to store extra meta data about the completed gesture
|
inlinestatic |
Static helper method to convert a list of transforms into a partially complete GestureMetaData object
transforms | The list of raw GTransform data |
GestureMetaData
instance with fields populatedfloat Gestures.GestureMetaData.averageSpeed = 0.0f |
The average speed of the user's hand over the course of the gesture
Vector3 Gestures.GestureMetaData.centroid |
The center of the gesture in world-space
string Gestures.GestureMetaData.name = "NO_GESTURE" |
The name of the completed gesture.
int Gestures.GestureMetaData.pointCount |
The number of points used to draw the gesture
float Gestures.GestureMetaData.precision |
A measure of how close a gesture was to the exact definition. A perfect gesture has a precision of 0, a gesture that barely passes has a precision of 1
Vector3 Gestures.GestureMetaData.scale |
The scale of the gesture in world-space
float Gestures.GestureMetaData.time |
The total time it took to draw the gesture