BaseController.SetupConfiguration Method

Definition

Overloads

SetupConfiguration(Type)
Obsolete.

Sets up the configuration based on the Mixed Reality Controller Mapping Profile.

SetupConfiguration(Type, InputSourceType)
Obsolete.

Sets up the configuration based on the Mixed Reality Controller Mapping Profile.

SetupConfiguration(Type)

Caution

This method is no longer used. Configuration now happens in the constructor. You can check this controller's Enabled property for configuration state.

Sets up the configuration based on the Mixed Reality Controller Mapping Profile.

C++
public:
 bool SetupConfiguration(Type ^ controllerType);

Parameters

controllerType
Type

The type this controller represents.

Returns

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)

SetupConfiguration(Type, InputSourceType)

Caution

This method is no longer used. Configuration now happens in the constructor. You can check this controller's Enabled property for configuration state.

Sets up the configuration based on the Mixed Reality Controller Mapping Profile.

C#
[System.Obsolete("This method is no longer used. Configuration now happens in the constructor. You can check this controller's Enabled property for configuration state.")]
public bool SetupConfiguration (Type controllerType, Microsoft.MixedReality.Toolkit.Input.InputSourceType inputSourceType = Microsoft.MixedReality.Toolkit.Input.InputSourceType.Controller);

Parameters

controllerType
Type
inputSourceType
InputSourceType

Returns

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)