docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class XRHandMeshDataQueryResultExtensions

    Contains extensions to XRHandMeshData relevant to supplying data when TryGetMeshData(out XRHandMeshDataQueryResult, ref XRHandMeshDataQueryParams) is called.

    Inheritance
    object
    XRHandMeshDataQueryResultExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.Hands.Meshing.ProviderImplementation
    Assembly: Unity.XR.Hands.dll
    Syntax
    public static class XRHandMeshDataQueryResultExtensions

    Methods

    FlushChanges(ref XRHandMeshDataQueryResult, XRHandMeshData)

    Flush XRHandMeshData changes.

    Declaration
    public static void FlushChanges(this ref XRHandMeshDataQueryResult result, XRHandMeshData meshData)
    Parameters
    Type Name Description
    XRHandMeshDataQueryResult result

    Mesh data query result to flush mesh data to.

    XRHandMeshData meshData

    Mesh data to flush to the query result.

    Remarks

    You should call this for each hand that has valid data. In other words,i.e., if both hands have any valid data, this should be called with both your altered copies of leftHand and rightHand.

    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)