docs.unity3d.com
    Show / Hide Table of Contents

    Class XRInputTrackingAggregator

    Provides methods for obtaining the tracking status of XR devices registered with Unity without needing to know the input system it is sourced from.

    Inheritance
    Object
    XRInputTrackingAggregator
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs
    Syntax
    public static class XRInputTrackingAggregator
    Remarks

    XR devices may be added to Unity through different mechanisms, such as native XR devices registered with the XR module, real or simulated devices registered with the Input System package, or the Hand Tracking Subsystem of OpenXR.

    Methods

    GetEyeGazeStatus()

    Gets the tracking status of the eye gaze device for this frame.

    Declaration
    public static TrackingStatus GetEyeGazeStatus()
    Returns
    Type Description
    TrackingStatus

    Returns a snapshot of the tracking status for this frame.

    GetHMDStatus()

    Gets the tracking status of the HMD device for this frame.

    Declaration
    public static TrackingStatus GetHMDStatus()
    Returns
    Type Description
    TrackingStatus

    Returns a snapshot of the tracking status for this frame.

    GetLeftControllerStatus()

    Gets the tracking status of the left motion controller device for this frame.

    Declaration
    public static TrackingStatus GetLeftControllerStatus()
    Returns
    Type Description
    TrackingStatus

    Returns a snapshot of the tracking status for this frame.

    GetLeftMetaAimHandStatus()

    Gets the tracking status of the left Meta Hand Tracking Aim device for this frame.

    Declaration
    public static TrackingStatus GetLeftMetaAimHandStatus()
    Returns
    Type Description
    TrackingStatus

    Returns a snapshot of the tracking status for this frame.

    GetLeftTrackedHandStatus()

    Gets the tracking status of the left tracked hand device for this frame.

    Declaration
    public static TrackingStatus GetLeftTrackedHandStatus()
    Returns
    Type Description
    TrackingStatus

    Returns a snapshot of the tracking status for this frame.

    GetRightControllerStatus()

    Gets the tracking status of the right motion controller device for this frame.

    Declaration
    public static TrackingStatus GetRightControllerStatus()
    Returns
    Type Description
    TrackingStatus

    Returns a snapshot of the tracking status for this frame.

    GetRightMetaAimHandStatus()

    Gets the tracking status of the right Meta Hand Tracking Aim device for this frame.

    Declaration
    public static TrackingStatus GetRightMetaAimHandStatus()
    Returns
    Type Description
    TrackingStatus

    Returns a snapshot of the tracking status for this frame.

    GetRightTrackedHandStatus()

    Gets the tracking status of the right tracked hand device for this frame.

    Declaration
    public static TrackingStatus GetRightTrackedHandStatus()
    Returns
    Type Description
    TrackingStatus

    Returns a snapshot of the tracking status for this frame.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023