XRSDKDeviceManager.GetControllerType(SupportedControllerType) Method

Definition

Gets the concrete type of the detected controller, based on the SupportedControllerType and defined per-platform.

protected:
 virtual Type ^ GetControllerType(Microsoft::MixedReality::Toolkit::Input::SupportedControllerType supportedControllerType);
protected virtual Type GetControllerType (Microsoft.MixedReality.Toolkit.Input.SupportedControllerType supportedControllerType);
abstract member GetControllerType : Microsoft.MixedReality.Toolkit.Input.SupportedControllerType -> Type
override this.GetControllerType : Microsoft.MixedReality.Toolkit.Input.SupportedControllerType -> Type
Protected Overridable Function GetControllerType (supportedControllerType As SupportedControllerType) As Type

Parameters

supportedControllerType
SupportedControllerType

The current controller type.

Returns

The concrete type of the currently detected controller.

Applies to