WindowsMixedRealityDeviceManager Constructors

Definition

Overloads

WindowsMixedRealityDeviceManager(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)

Constructor.

C#
public WindowsMixedRealityDeviceManager (Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSystem inputSystem, string name = default, uint priority = 10, Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile profile = default);

Parameters

inputSystem
IMixedRealityInputSystem

The IMixedRealityInputSystem instance that receives data from this provider.

name
String

Friendly name of the service.

priority
UInt32

Service priority. Used to determine order of instantiation.

profile
BaseMixedRealityProfile

The service's configuration profile.

Applies to

MRTK2 Unity 2018 2.7.0 and other versions
Product Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0

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

Caution

This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.

Constructor.

C#
[System.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 WindowsMixedRealityDeviceManager (Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar registrar, Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSystem inputSystem, string name = default, uint priority = 10, Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile profile = default);

Parameters

registrar
IMixedRealityServiceRegistrar

The IMixedRealityServiceRegistrar instance that loaded the data provider.

inputSystem
IMixedRealityInputSystem

The IMixedRealityInputSystem instance that receives data from this provider.

name
String

Friendly name of the service.

priority
UInt32

Service priority. Used to determine order of instantiation.

profile
BaseMixedRealityProfile

The service's configuration profile.

Attributes

Applies to

MRTK2 Unity 2018 2.7.0 and other versions
Product Versions (Obsolete)
MRTK2 Unity 2018 (2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0)
MRTK2 Unity 2019 (2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0)