docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class XRHandJointIDUtility

    Houses extension and utility methods for XRHandJointID.

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

    Methods

    Name Description
    FromIndex(int)

    Call this to get the corresponding XRHandJointID from an index into an array of associated data.

    GetBackJointID(XRHandFingerID)

    Gets the tip XRHandJointID of a given XRHandFingerID.

    GetFrontJointID(XRHandFingerID)

    Gets the metacarpal XRHandJointID of a given XRHandFingerID.

    ToIndex(XRHandJointID)

    Call .ToIndex() on a XRHandJointID to get its corresponding index into an array of joint data.

    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)