docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property jointsInLayout

    jointsInLayout

    Indicates which joints in the XRHandJointID list are supported by the current hand data provider.

    Declaration
    public NativeArray<bool> jointsInLayout { get; }
    Property Value
    Type Description
    NativeArray<bool>
    Remarks

    Hand data providers might not support tracking every joint in the XRHandJointID list. This array contains an element for each possible joint. A value of true indicates the the current provider supports tracking the associated joint.

    To get the correct array index for a joint, call ToIndex(XRHandJointID) on the XRHandJointID in question.

    Refer to Get supported joints array for additional information.

    This array will already be valid as soon as you have a reference to a subsystem (in other words, it's filled out before the subsystem is returned by a call to XRHandSubsystemDescriptor.Create).

    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)