docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class XRUtilities

    A set of static utilities for registering XR Input Devices externally.

    Inheritance
    object
    XRUtilities
    Namespace: UnityEngine.InputSystem.XR
    Assembly: Unity.InputSystem.dll
    Syntax
    public static class XRUtilities

    Fields

    InterfaceCurrent

    The current interface code sent with devices to identify as XRInput devices.

    Declaration
    public const string InterfaceCurrent = "XRInputV1"
    Field Value
    Type Description
    string

    InterfaceMatchAnyVersion

    A simple Regex pattern that allows InputDeviceMatchers to match to any version of the XRInput interface.

    Declaration
    public const string InterfaceMatchAnyVersion = "^(XRInput)"
    Field Value
    Type Description
    string

    InterfaceV1

    The initial, now deprecated interface for XRInput. This version handles button packing for Android differently from current.

    Declaration
    public const string InterfaceV1 = "XRInput"
    Field Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2024 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)