Click or drag to resize

GestureData Class

A single captured gesture.
Inheritance Hierarchy
SystemObject
  RavingBots.MagicGestures.ControllerGestureData

Namespace:  RavingBots.MagicGestures.Controller
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class GestureData

The GestureData type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyIsValid
if this gesture is valid (has at least one point).
Top
Methods
  NameDescription
Public methodDrawGizmos
Draw the gesture with gizmo lines for debugging.
Public methodStatic memberGetAveraged
Average a set of captured gestures.
Public methodGetResampled
Resize the gesture with resampling.
Public methodLerp
Interpolate a point of the gesture.
Public methodMirrorX
Mirror the gesture on the X axis.
Public methodMirrorY
Mirror the gesture on the Y axis.
Public methodMirrorZ
Mirror the gesture on the Z axis.
Public methodNormalize
Normalize and then rotate all gesture points.
Public methodRecalculate
Recalculate the bounding box, the bounding sphere, and the length of the gesture.
Top
Fields
  NameDescription
Public fieldLength
The total length of the gesture (the sum of the distances between points).
Public fieldLimits
The bounding box of the gesture.
Public fieldPoints
The points of the gesture.
Public fieldRadius
The radius of a sphere containing all of the gesture points.
Top
See Also