mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0releases/2.3.0releases/2.4.0releases/2.5.0releases/2.5.1releases/2.5.2releases/2.5.3

We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class OpenVRDeviceManager

    Manages Open VR devices using Unity's input system.

    Inheritance
    Object
    OpenVRDeviceManager
    Implements
    IMixedRealityCapabilityCheck
    Namespace: Microsoft.MixedReality.Toolkit.OpenVR.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public class OpenVRDeviceManager : UnityJoystickManager, IMixedRealityCapabilityCheck

    Constructors

    OpenVRDeviceManager(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)

    Constructor.

    Declaration
    public OpenVRDeviceManager(IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
    Parameters
    Type Name Description
    IMixedRealityInputSystem inputSystem

    The IMixedRealityInputSystem instance that receives data from this provider.

    String name

    Friendly name of the service.

    UInt32 priority

    Service priority. Used to determine order of instantiation.

    BaseMixedRealityProfile profile

    The service's configuration profile.

    OpenVRDeviceManager(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)

    Constructor.

    Declaration
    [Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
    public OpenVRDeviceManager(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
    Parameters
    Type Name Description
    IMixedRealityServiceRegistrar registrar

    The IMixedRealityServiceRegistrar instance that loaded the data provider.

    IMixedRealityInputSystem inputSystem

    The IMixedRealityInputSystem instance that receives data from this provider.

    String name

    Friendly name of the service.

    UInt32 priority

    Service priority. Used to determine order of instantiation.

    BaseMixedRealityProfile profile

    The service's configuration profile.

    Methods

    CheckCapability(MixedRealityCapability)

    Checks to see if one or more registered data providers supports the requested capability on the current platform.

    Declaration
    public bool CheckCapability(MixedRealityCapability capability)
    Parameters
    Type Name Description
    MixedRealityCapability capability

    The capability to check.

    Returns
    Type Description
    Boolean

    True if the capability is supported, false otherwise.

    GetCurrentControllerType(String)

    Declaration
    protected override SupportedControllerType GetCurrentControllerType(string joystickName)
    Parameters
    Type Name Description
    String joystickName
    Returns
    Type Description
    SupportedControllerType

    GetOrAddController(String)

    Declaration
    protected override GenericJoystickController GetOrAddController(string joystickName)
    Parameters
    Type Name Description
    String joystickName
    Returns
    Type Description
    GenericJoystickController

    RemoveController(String)

    Declaration
    protected override void RemoveController(string joystickName)
    Parameters
    Type Name Description
    String joystickName

    Implements

    IMixedRealityCapabilityCheck
    In This Article
    • Constructors
      • OpenVRDeviceManager(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
      • OpenVRDeviceManager(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
    • Methods
      • CheckCapability(MixedRealityCapability)
      • GetCurrentControllerType(String)
      • GetOrAddController(String)
      • RemoveController(String)
    • Implements
    Back to top Generated by DocFX