FingerCursor.TryGetJoint(TrackedHandJoint, Vector3, Quaternion) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
protected bool TryGetJoint (Microsoft.MixedReality.Toolkit.Utilities.TrackedHandJoint joint, out UnityEngine.Vector3 position, out UnityEngine.Quaternion rotation);
member this.TryGetJoint : Microsoft.MixedReality.Toolkit.Utilities.TrackedHandJoint * Vector3 * Quaternion -> bool
Protected Function TryGetJoint (joint As TrackedHandJoint, ByRef position As Vector3, ByRef rotation As Quaternion) As Boolean
- 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
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 |