HandMeshTracker.TryGetHandMesh(FrameTime, Mesh, 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.
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
- 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.