Прочетете на английски Редактиране

Споделяне чрез


BaseInputDeviceManager Constructors

Definition

Overloads

BaseInputDeviceManager(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)

Constructor.

C++
protected:
 BaseInputDeviceManager(Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputSystem ^ inputSystem, System::String ^ name, System::UInt32 priority, Microsoft::MixedReality::Toolkit::BaseMixedRealityProfile ^ profile);

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 и други версии
Продукт Версии
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
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0

BaseInputDeviceManager(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++
protected:
 BaseInputDeviceManager(Microsoft::MixedReality::Toolkit::IMixedRealityServiceRegistrar ^ registrar, Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputSystem ^ inputSystem, System::String ^ name, System::UInt32 priority, Microsoft::MixedReality::Toolkit::BaseMixedRealityProfile ^ profile);

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 и други версии
Продукт Версии (остаряло)
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)
MRTK2 Unity 2020 (2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0)