docs.unity3d.com
    Show / Hide Table of Contents

    Namespace UnityEngine.XR.Interaction.Toolkit.UI

    Classes

    TrackedDeviceEventData

    A custom UI event for devices that exist within 3D Unity space, separate from the camera's position.

    TrackedDeviceGraphicRaycaster

    Custom implementation of GraphicRaycaster for XR Interaction Toolkit. This behavior is used to ray cast against a Canvas. The Raycaster looks at all Graphics on the canvas and determines if any of them have been hit by a ray from a tracked device.

    TrackedDevicePhysicsRaycaster

    Physics-based UI Raycaster for Tracked Devices (e.g. XR Controllers). Detects UI elements with physics colliders attached to their GameObjects.

    UIInputModule

    Base class for input modules that send UI input.

    XRUIInputModule

    Custom class for input modules that send UI input in XR.

    Structs

    MouseButtonModel

    Represents the state of a single mouse button within the Unity UI (UGUI) system. Keeps track of various book-keeping regarding clicks, drags, and presses. Can be converted to and from PointerEventData for sending into Unity UI (UGUI).

    TrackedDeviceModel

    Models a tracked device.

    Interfaces

    IUIInteractor

    Matches the UI Model to the state of the Interactor.

    Enums

    ButtonDeltaState

    A series of flags to determine if a button has been pressed or released since the last time checked. Useful for identifying press/release events that occur in a single frame or sample.

    Back to top
    Terms of use
    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