GestureData Class |
Namespace: RavingBots.MagicGestures.Controller
[SerializableAttribute] public class GestureData
The GestureData type exposes the following members.
| Name | Description | |
|---|---|---|
| GestureData(IEnumerableVector3) |
Create a new gesture from existing points.
| |
| GestureData(Int32) |
Create an empty gesture.
| |
| GestureData(GestureData) |
Create an identical copy of an existing gesture.
|
| Name | Description | |
|---|---|---|
| DrawGizmos |
Draw the gesture with gizmo lines for debugging.
| |
| GetAveraged |
Average a set of captured gestures.
| |
| GetResampled |
Resize the gesture with resampling.
| |
| Lerp |
Interpolate a point of the gesture.
| |
| MirrorX |
Mirror the gesture on the X axis.
| |
| MirrorY |
Mirror the gesture on the Y axis.
| |
| MirrorZ |
Mirror the gesture on the Z axis.
| |
| Normalize |
Normalize and then rotate all gesture points.
| |
| Recalculate |
Recalculate the bounding box, the bounding sphere, and the length of the gesture.
|
| Name | Description | |
|---|---|---|
| Length |
The total length of the gesture
(the sum of the distances between points).
| |
| Limits |
The bounding box of the gesture.
| |
| Points |
The points of the gesture.
| |
| Radius |
The radius of a sphere containing all of the gesture points.
|