docs.unity3d.com
Search Results for

    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.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs
    Assembly: Unity.XR.Interaction.Toolkit.dll
    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.

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