XRSDKDeviceManager.GetCurrentControllerType(InputDevice) 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 current controller type for the InputDevice name provided.
protected:
virtual Microsoft::MixedReality::Toolkit::Input::SupportedControllerType GetCurrentControllerType(UnityEngine::XR::InputDevice inputDevice);
protected virtual Microsoft.MixedReality.Toolkit.Input.SupportedControllerType GetCurrentControllerType (UnityEngine.XR.InputDevice inputDevice);
abstract member GetCurrentControllerType : UnityEngine.XR.InputDevice -> Microsoft.MixedReality.Toolkit.Input.SupportedControllerType
override this.GetCurrentControllerType : UnityEngine.XR.InputDevice -> Microsoft.MixedReality.Toolkit.Input.SupportedControllerType
Protected Overridable Function GetCurrentControllerType (inputDevice As InputDevice) As SupportedControllerType
Parameters
- inputDevice
- UnityEngine.XR.InputDevice
The InputDevice from XR SDK.
Returns
The supported controller type.