Bearbeiten

Freigeben über


TestHand.SetGesture(ArticulatedHandPose+GestureId, Boolean) Method

Definition

Changes the hand's pose to the given gesture. Does not animate the hand between the current pose and new pose.

public System.Collections.IEnumerator SetGesture (Microsoft.MixedReality.Toolkit.Utilities.ArticulatedHandPose.GestureId newGestureId, bool waitForFixedUpdate = true);
member this.SetGesture : Microsoft.MixedReality.Toolkit.Utilities.ArticulatedHandPose.GestureId * bool -> System.Collections.IEnumerator
Public Iterator Function SetGesture (newGestureId As ArticulatedHandPose.GestureId, Optional waitForFixedUpdate As Boolean = true) As IEnumerator

Parameters

newGestureId
ArticulatedHandPose.GestureId

The new hand pose

waitForFixedUpdate
Boolean

If true, waits for a fixed update after moving to the new pose.

Returns

Applies to