docs.unity3d.com
    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
    Syntax
    public static class XRUtilities : object

    Fields

    InterfaceCurrent

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

    Declaration
    public const string InterfaceCurrent = null
    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 = null
    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 = null
    Field Value
    Type Description
    String
    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