Gesture Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Gesture() |
Creates a blank Gesture with an empty state-machine. In order to represent a meaningful gesture, a sequence of HandPose and\or HandMotion objects would have to be manually added to the Gesture instance (for example, by using the AddTriggeringPath(GestureSegment[]) method). |
Gesture(GestureSegment[]) |
Creates a new Gesture whose state machine is described by the given |
Gesture(String) |
Creates a new Gesture called |
Gesture(String, GestureSegment[]) |
Creates a new Gesture called |
Gesture()
Creates a blank Gesture with an empty state-machine. In order to represent a meaningful gesture, a sequence of HandPose and\or HandMotion objects would have to be manually added to the Gesture instance (for example, by using the AddTriggeringPath(GestureSegment[]) method).
public Gesture ();
Applies to
Gesture(GestureSegment[])
Creates a new Gesture whose state machine is described by the given triggeringPath
.
public Gesture (Microsoft.Gestures.GestureSegment[] triggeringPath);
Parameters
- triggeringPath
- GestureSegment[]
A comma separated list of GestureSegment objects, describing a sequence of states which upon detection will trigger this
Gesture instance. The triggeringPath
need not start or end with references to IdleGestureSegment (they will be added implicitly by the
constructor).
Applies to
Gesture(String)
Gesture(String, GestureSegment[])
Creates a new Gesture called name
whose state machine is described by the given triggeringPath
public Gesture (string name, Microsoft.Gestures.GestureSegment[] triggeringPath);
Parameters
- triggeringPath
- GestureSegment[]
A comma separated list of GestureSegment objects, describing a sequence of states which upon detection will trigger this
Gesture instance. The triggeringPath
need not start or end with references to IdleGestureSegment (they will be added implicitly by the
constructor).