docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IOpenXRHandMeshDataSupplier

    Used by platform-specific OpenXR features to supply hand mesh data to XRHandSubsystem.

    Namespace: UnityEngine.XR.Hands.OpenXR.Meshing
    Assembly: Unity.XR.Hands.dll
    Syntax
    public interface IOpenXRHandMeshDataSupplier
    Remarks

    Only used by developers connecting an OpenXRFeature to TryGetMeshData(out XRHandMeshDataQueryResult, ref XRHandMeshDataQueryParams). If you're a user making a game or app, you do not need to worry about this type.

    Methods

    TryGetMeshData(ref XRHandMeshDataQueryResult, ref XRHandMeshDataQueryParams)

    Attempt to retrieve hand mesh data from the platform. Only called when TryGetMeshData(out XRHandMeshDataQueryResult, ref XRHandMeshDataQueryParams) is called.

    Declaration
    bool TryGetMeshData(ref XRHandMeshDataQueryResult result, ref XRHandMeshDataQueryParams queryParams)
    Parameters
    Type Name Description
    XRHandMeshDataQueryResult result

    Output data for hand meshes.

    XRHandMeshDataQueryParams queryParams

    Input data for hand meshes.

    Returns
    Type Description
    bool

    Returns true if successful and either hand has valid data. Otherwise, returns false.

    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)