次の方法で共有


HandMeshTracker.TryGetHandMesh(FrameTime, Mesh, HandPoseType) Method

Definition

Retrieves the latest hand mesh information and build the current hand mesh in the passed-in mesh parameter.

public bool TryGetHandMesh (Microsoft.MixedReality.OpenXR.FrameTime frameTime, UnityEngine.Mesh handMesh, Microsoft.MixedReality.OpenXR.HandPoseType handPoseType = Microsoft.MixedReality.OpenXR.HandPoseType.Tracked);
member this.TryGetHandMesh : Microsoft.MixedReality.OpenXR.FrameTime * UnityEngine.Mesh * Microsoft.MixedReality.OpenXR.HandPoseType -> bool
Public Function TryGetHandMesh (frameTime As FrameTime, handMesh As Mesh, Optional handPoseType As HandPoseType = Microsoft.MixedReality.OpenXR.HandPoseType.Tracked) As Boolean

Parameters

frameTime
FrameTime

Specify the FrameTime to locate the hand mesh.

handMesh
UnityEngine.Mesh

The mesh object to build the hand mesh in.

handPoseType
HandPoseType

The type of hand mesh 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

True if the mesh was retrievable.

Applies to