Gesture Constructors

Definition

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 triggeringPath.

Gesture(String)

Creates a new Gesture called name.

Gesture(String, GestureSegment[])

Creates a new Gesture called name whose state machine is described by the given triggeringPath

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)

Creates a new Gesture called name.

public Gesture (string name);

Parameters

name
String

The name assigned to the new Gesture instance. This String will serve as a unique identifier for this Gesture instance in the Gestures Service debugging interface.

Applies to

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

name
String

The name assigned to the new Gesture

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