private bool TryGetJoint(int handedness, HandJoint joint, out IvJointPos pose) { if (handedness == ivHand.mLeft) { return(jointLeftPoses.TryGetValue(joint, out pose)); } else { return(jointRightPoses.TryGetValue(joint, out pose)); } }
private bool TryGetJoint(HandJoint joint, out IvJointPos pose) { return(jointPoses.TryGetValue(joint, out pose)); }