XRSDKDeviceManager.GetControllerType(SupportedControllerType) Method
Definition
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.
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.