Meta_Gesture
Module: Metanodes / Definitions
A Gesture contains data for matching a gesture or pose.
#include <meta_script.hpp>
Public Types
| Type | Name |
|---|---|
| enum | GestureType { GestureType_Gesture, GestureType_Pose } Values for Idx_Type. |
| enum | IDX { Idx_Name, Idx_Type, Idx_Data, Idx_Hash, Idx_AngleTolerance, Idx_DetectionThreshold, Idx_PathLengthTolerance } Property index. |
Public Types Documentation
enum GestureType
| Enumerator | Value | Description |
|---|---|---|
| GestureType_Gesture | Symbols - C: "TypeGesture", Lua: __Gesture_TypeGesture | |
| GestureType_Pose | Symbols - C: "TypePose", Lua: __Gesture_TypePose |
Values for Idx_Type.
enum IDX
| Enumerator | Value | Description |
|---|---|---|
| Idx_Name | string - The name of the template gesture. | |
| Idx_Type | GestureType (int) - Whether the gesture is a pose or a gesture. | |
| Idx_Data | vector<float> - The recorded data for the gesture. | |
| Idx_Hash | int - A hash of the data, so that we can compare them quickly. | |
| Idx_AngleTolerance | float - How much of an angle to allow rotating the gesture to match template gestures | |
| Idx_DetectionThreshold | float - The threshold for detecting this gesture | |
| Idx_PathLengthTolerance | float - Maximum percentage difference between test gesture and template gesture path length when matching. |
Property index.