Class SimulatedArticulatedHandPoses
This stores the joint pose JSON data that defines various articulated hand gestures for input simulation. The JSON data that defines each joint position and orientation is stored in strings to avoid file loading/targeting during runtime
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public static class SimulatedArticulatedHandPoses
Methods
GetGesturePose(GestureId)
Get pose data for a supported gesture.
Declaration
public static ArticulatedHandPose GetGesturePose(GestureId gesture)
Parameters
Type | Name | Description |
---|---|---|
GestureId | gesture |
Returns
Type | Description |
---|---|
ArticulatedHandPose |
LoadDefaultGesturePoses()
Load default hand poses for supported gestures. Clears and overwrites original gesture poses
Declaration
public static void LoadDefaultGesturePoses()
SetGesturePose(GestureId, ArticulatedHandPose)
Set hand pose data for supported gesture. Useful to overwrite loaded defaults
Declaration
public static void SetGesturePose(GestureId key, ArticulatedHandPose value)
Parameters
Type | Name | Description |
---|---|---|
GestureId | key | |
ArticulatedHandPose | value |