docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XrHandJointLocationsEXT

    Contains the output of a hand joint locate operation. Provided by XR_EXT_hand_tracking.

    Namespace: UnityEngine.XR.OpenXR.NativeTypes
    Assembly: Unity.XR.OpenXR.dll
    Syntax
    public readonly struct XrHandJointLocationsEXT
    Remarks
    Warning

    Don't initialize this struct with the default parameterless constructor. Use either defaultValue or a constructor with parameters to ensure that type is correctly initialized to HandJointLocationsEXT.

    Constructors

    XrHandJointLocationsEXT(bool, NativeArray<XrHandJointLocationEXT>)

    Construct an instance with a null next pointer from a native array.

    Declaration
    public XrHandJointLocationsEXT(bool isActive, NativeArray<XrHandJointLocationEXT> jointLocations)
    Parameters
    Type Name Description
    bool isActive

    true if the hand tracker is actively tracking. Otherwise, false.

    NativeArray<XrHandJointLocationEXT> jointLocations

    Native array of joint locations.

    XrHandJointLocationsEXT(bool, ReadOnly)

    Construct an instance with a null next pointer from a read-only native array.

    Declaration
    public XrHandJointLocationsEXT(bool isActive, NativeArray<XrHandJointLocationEXT>.ReadOnly jointLocations)
    Parameters
    Type Name Description
    bool isActive

    true if the hand tracker is actively tracking. Otherwise, false.

    ReadOnly jointLocations

    Read-only native array of joint locations.

    XrHandJointLocationsEXT(bool, uint, XrHandJointLocationEXT*)

    Construct an instance with a null next pointer.

    Declaration
    public XrHandJointLocationsEXT(bool isActive, uint jointCount, XrHandJointLocationEXT* jointLocations)
    Parameters
    Type Name Description
    bool isActive

    true if the hand tracker is actively tracking. Otherwise, false.

    uint jointCount

    The count of elements in jointLocations.

    XrHandJointLocationEXT* jointLocations

    Pointer to an array of joint locations.

    XrHandJointLocationsEXT(void*, bool, NativeArray<XrHandJointLocationEXT>)

    Construct an instance from a native array.

    Declaration
    public XrHandJointLocationsEXT(void* next, bool isActive, NativeArray<XrHandJointLocationEXT> jointLocations)
    Parameters
    Type Name Description
    void* next

    The next pointer.

    bool isActive

    true if the hand tracker is actively tracking. Otherwise, false.

    NativeArray<XrHandJointLocationEXT> jointLocations

    Native array of joint locations.

    XrHandJointLocationsEXT(void*, bool, ReadOnly)

    Construct an instance from a read-only native array.

    Declaration
    public XrHandJointLocationsEXT(void* next, bool isActive, NativeArray<XrHandJointLocationEXT>.ReadOnly jointLocations)
    Parameters
    Type Name Description
    void* next

    The next pointer.

    bool isActive

    true if the hand tracker is actively tracking. Otherwise, false.

    ReadOnly jointLocations

    Read-only native array of joint locations.

    XrHandJointLocationsEXT(void*, bool, uint, XrHandJointLocationEXT*)

    Construct an instance.

    Declaration
    public XrHandJointLocationsEXT(void* next, bool isActive, uint jointCount, XrHandJointLocationEXT* jointLocations)
    Parameters
    Type Name Description
    void* next

    The next pointer.

    bool isActive

    true if the hand tracker is actively tracking. Otherwise, false.

    uint jointCount

    The count of elements in jointLocations.

    XrHandJointLocationEXT* jointLocations

    Pointer to an array of joint locations.

    Properties

    defaultValue

    Get a default instance with an initialized type property.

    Declaration
    public static XrHandJointLocationsEXT defaultValue { get; }
    Property Value
    Type Description
    XrHandJointLocationsEXT

    isActive

    Indicates whether the hand tracker is actively tracking.

    Declaration
    public UInt32 isActive { get; }
    Property Value
    Type Description
    uint

    jointCount

    The count of elements in jointLocations.

    Declaration
    public uint jointCount { get; }
    Property Value
    Type Description
    uint

    jointLocations

    Pointer to an array of XrHandJointLocationEXT structures.

    Declaration
    public XrHandJointLocationEXT* jointLocations { get; }
    Property Value
    Type Description
    XrHandJointLocationEXT*

    next

    null or a pointer to the next structure in a structure chain.

    Declaration
    public void* next { get; }
    Property Value
    Type Description
    void*

    type

    The XrStructureType of this struct: HandJointLocationsEXT.

    Declaration
    public XrStructureType type { get; }
    Property Value
    Type Description
    XrStructureType
    In This Article
    Back to top
    Copyright © 2026 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)