private void RecordHandStart(Handedness handedness)
 {
     HandJointUtils.TryGetJointPose <WindowsMixedRealityArticulatedHand>(ReferenceJoint, handedness, out MixedRealityPose joint);
     offset        = joint.Position;
     recordingHand = handedness;
 }
 private void GetJointPosition(Vector3[] positions, TrackedHandJoint jointId, Handedness handedness)
 {
     HandJointUtils.TryGetJointPose(jointId, handedness, out MixedRealityPose joint);
     positions[(int)jointId] = joint.Position;
 }