MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / HandOverride

Method HandOverride

StereoKit/Systems/Input.cs:445–446  ·  view source on GitHub ↗

This allows you to completely override the hand's pose information! It is still treated like the user's hand, so this is great for simulating input for testing purposes. It will remain overridden until you call Input.HandClearOverride. Which hand should be overridden? A 2D array of 25 joints that should be used as StereoKit's hand

(Handed hand, in HandJoint[] joints)

Source from the content-addressed store, hash-verified

443 /// as StereoKit's hand information. See `Hand.fingers` for more
444 /// information.</param>
445 public static void HandOverride(Handed hand, in HandJoint[] joints)
446 => NativeAPI.input_hand_override(hand, joints);
447 /// <summary>Clear out the override status from Input.HandOverride,
448 /// and restore the user's control over it again.</summary>
449 /// <param name="hand">Which hand are we clearing the override on?

Callers 4

HandMethod · 0.80
StepMethod · 0.80
StepMethod · 0.80
InitializeMethod · 0.80

Calls 1

input_hand_overrideMethod · 0.80

Tested by 2

HandMethod · 0.64
StepMethod · 0.64