StereoKit will use controller inputs to simulate an articulated hand. This function allows you to add new simulated poses to different controller or keyboard buttons! 25 joint poses, thumb to pinky, and root to tip with two duplicate poses for the thumb root joint. These should be right handed, and relative to the palm joint. <param
(Pose[] handJointsPalmRelative25, ControllerKey button1 = ControllerKey.None, ControllerKey andButton2 = ControllerKey.None, Key orHotkey1 = StereoKit.Key.None, Key andHotkey2 = StereoKit.Key.None)
| 470 | /// <returns>Returns the id of the hand sim pose, so it can be removed |
| 471 | /// later.</returns> |
| 472 | public static HandSimId HandSimPoseAdd(Pose[] handJointsPalmRelative25, ControllerKey button1 = ControllerKey.None, ControllerKey andButton2 = ControllerKey.None, Key orHotkey1 = StereoKit.Key.None, Key andHotkey2 = StereoKit.Key.None) |
| 473 | => NativeAPI.input_hand_sim_pose_add(handJointsPalmRelative25, button1, andButton2, orHotkey1, andHotkey2); |
| 474 | /// <summary>Lets you remove an existing hand pose.</summary> |
| 475 | /// <param name="id">Any valid or invalid hand sim pose id.</param> |
| 476 | public static void HandSimPoseRemove(HandSimId id) |
no test coverage detected