docs.unity3d.com
    目次を表示する/隠す

    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.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)