docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetRawJointArray

    GetRawJointArray(XRHand)

    Gets the NativeArray of XRHandJoints contained in the invoking hand.

    Declaration
    public static NativeArray<XRHandJoint> GetRawJointArray(this XRHand hand)
    Parameters
    Type Name Description
    XRHand hand

    The invoking hand for this extension method. To call this method, call .GetRawJointArray() on an XRHand.

    Returns
    Type Description
    NativeArray<XRHandJoint>

    The raw joint array contained in the supplied hand.

    Remarks

    After manipulating data for a particular joint, be sure to assign it back to the array you got it from, as you can only manipulate copies of objects from a NativeArray.

    In This Article
    Back to top
    Copyright © 2023 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)