HandMeshTracker.TryLocateHandMesh(FrameTime, Pose, HandPoseType) 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 to get the current location in world-space of the specified hand mesh.
public bool TryLocateHandMesh (Microsoft.MixedReality.OpenXR.FrameTime frameTime, out UnityEngine.Pose pose, Microsoft.MixedReality.OpenXR.HandPoseType handPoseType = Microsoft.MixedReality.OpenXR.HandPoseType.Tracked);
member this.TryLocateHandMesh : Microsoft.MixedReality.OpenXR.FrameTime * Pose * Microsoft.MixedReality.OpenXR.HandPoseType -> bool
Public Function TryLocateHandMesh (frameTime As FrameTime, ByRef pose As Pose, Optional handPoseType As HandPoseType = Microsoft.MixedReality.OpenXR.HandPoseType.Tracked) As Boolean
Parameters
- pose
- UnityEngine.Pose
The current pose of the specified hand mesh.
- handPoseType
- HandPoseType
The type of hand mesh pose to request. The tracked pose represents the actively tracked hand. The reference pose represents a stable hand pose in a relaxed open hand shape.
Returns
Returns true when the returned pose is tracking and valid to be used. Returns false when the hand mesh tracker lost tracking or it's not properly set up.