BaseController.SetupConfiguration Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
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.
public:
bool SetupConfiguration(Type ^ controllerType);
[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);
[<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.")>]
member this.SetupConfiguration : Type -> bool
Public Function SetupConfiguration (controllerType As Type) As Boolean
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) |
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.
[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);
[<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.")>]
member this.SetupConfiguration : Type * Microsoft.MixedReality.Toolkit.Input.InputSourceType -> bool
Public Function SetupConfiguration (controllerType As Type, Optional inputSourceType As InputSourceType = Microsoft.MixedReality.Toolkit.Input.InputSourceType.Controller) As Boolean
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) |