FingerCursor.TryGetJoint(TrackedHandJoint, Vector3, Quaternion) Method

Definition

Tries and get's hand joints based on the current pointer.

C++
protected:
 bool TryGetJoint(Microsoft::MixedReality::Toolkit::Utilities::TrackedHandJoint joint, [Runtime::InteropServices::Out] UnityEngine::Vector3 % position, [Runtime::InteropServices::Out] UnityEngine::Quaternion % rotation);

Parameters

joint
TrackedHandJoint

The joint type to get.

position
UnityEngine.Vector3

Out parameter filled with joint position, otherwise Vector3.zero

rotation
UnityEngine.Quaternion

Out parameter filled with joint rotation, otherwise Quaternion.identity

Returns

Applies to

Produkt Versioner
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0