FingerCursor.TryGetJoint(TrackedHandJoint, Vector3, Quaternion) Method
Definition
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.
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
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