OculusXRSDKDeviceManager.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:
override Type ^ GetControllerType(Microsoft::MixedReality::Toolkit::Input::SupportedControllerType supportedControllerType);
protected override Type GetControllerType (Microsoft.MixedReality.Toolkit.Input.SupportedControllerType supportedControllerType);
override this.GetControllerType : Microsoft.MixedReality.Toolkit.Input.SupportedControllerType -> Type
Protected Overrides Function GetControllerType (supportedControllerType As SupportedControllerType) As Type
Parameters
- supportedControllerType
- SupportedControllerType
The current controller type.
Returns
The concrete type of the currently detected controller.