Edit

Bagikan melalui


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.

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

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.

[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