Compartir a través de


HandMeshTracker.TryLocateHandMesh(FrameTime, Pose, HandPoseType) Method

Definition

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

frameTime
FrameTime

Specify the FrameTime to locate the hand mesh.

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.

Applies to