docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XRHandMeshDataQueryResult

    Low-level mesh data in XRHandMeshData for each hand, useful for rendering and other use cases.

    Implements
    IDisposable
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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()

    Implements

    IDisposable

    Extension Methods

    XRHandMeshDataQueryResultExtensions.FlushChanges(ref XRHandMeshDataQueryResult, XRHandMeshData)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)