Gesture.AddTriggeringPath Method
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
AddTriggeringPath(GestureSegment[]) |
Adds a new triggering path (a triggering path is a series of HandPoses and HandMotions which the user is required to execute in order to trigger
the detection of the Gesture), described by |
AddTriggeringPath(IEnumerable<GestureSegment>) |
Adds a new triggering path (a triggering path is a series of HandPoses and HandMotions which the user is required to execute in order to trigger
the detection of a Gesture), described by |
AddTriggeringPath(GestureSegment[])
Adds a new triggering path (a triggering path is a series of HandPoses and HandMotions which the user is required to execute in order to trigger
the detection of the Gesture), described by segments
, to the state-machine associated with this Gesture.
public void AddTriggeringPath (Microsoft.Gestures.GestureSegment[] segments);
Parameters
- segments
- GestureSegment[]
A comma separated list of GestureSegment objects, describing a sequence of states which upon detection will trigger this
Gesture instance. segments
need not start or end with references to IdleGestureSegment (they will be added implicitly by the
constructor).
Applies to
AddTriggeringPath(IEnumerable<GestureSegment>)
Adds a new triggering path (a triggering path is a series of HandPoses and HandMotions which the user is required to execute in order to trigger
the detection of a Gesture), described by segments
, to the state-machine associated with this Gesture.
public void AddTriggeringPath (System.Collections.Generic.IEnumerable<Microsoft.Gestures.GestureSegment> segments);
Parameters
- segments
- IEnumerable<GestureSegment>
An IEnumerable<T> of GestureSegment objects, describing a sequence of states which upon detection will trigger this
Gesture instance. segments
need not start or end with references to IdleGestureSegment (they will be added implicitly by the
constructor).