Struct XRHandMeshDataQueryResult
Low-level mesh data in XRHandMeshData for each hand, useful for rendering and other use cases.
Implements
Inherited Members
Namespace: UnityEngine.XR.Hands.Meshing
Assembly: Unity.XR.Hands.dll
Syntax
public struct XRHandMeshDataQueryResult : IDisposable
Properties
leftHand
Low-level mesh data for left hand. It is up to the caller whether and how to turn the data into a Mesh or bake into physics data.
Declaration
public readonly XRHandMeshData leftHand { get; }
Property Value
Type | Description |
---|---|
XRHandMeshData | Data can only be valid if the call to TryGetMeshData(out XRHandMeshDataQueryResult, ref XRHandMeshDataQueryParams) was successful. |
rightHand
Low-level mesh data for right hand. It is up to the caller whether and how to turn the data into a Mesh or bake into physics data.
Declaration
public readonly XRHandMeshData rightHand { get; }
Property Value
Type | Description |
---|---|
XRHandMeshData | Data can only be valid if the call to TryGetMeshData(out XRHandMeshDataQueryResult, ref XRHandMeshDataQueryParams) was successful. |
Methods
Dispose()
Dispose of array data in the contained objects.
Declaration
public void Dispose()