WindowsMixedRealityDeviceManager.GetCurrentControllerType(InputDevice) Method

Definition

Gets the current controller type for the InputDevice name provided.

protected:
 override Microsoft::MixedReality::Toolkit::Input::SupportedControllerType GetCurrentControllerType(UnityEngine::XR::InputDevice inputDevice);
protected override Microsoft.MixedReality.Toolkit.Input.SupportedControllerType GetCurrentControllerType (UnityEngine.XR.InputDevice inputDevice);
override this.GetCurrentControllerType : UnityEngine.XR.InputDevice -> Microsoft.MixedReality.Toolkit.Input.SupportedControllerType
Protected Overrides Function GetCurrentControllerType (inputDevice As InputDevice) As SupportedControllerType

Parameters

inputDevice
UnityEngine.XR.InputDevice

The InputDevice from XR SDK.

Returns

The supported controller type.

Applies to