TestHand.SetGesture(ArticulatedHandPose+GestureId, Boolean) 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.
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.