OpenXRDeviceManager.GetOrAddController(InputDevice) Method

Definition

The OpenXR plug-in uses extensions to expose all possible data, which might be surfaced through multiple input devices. This method is overridden to account for multiple input devices and reuse MRTK controllers if a match is found.

protected:
 override Microsoft::MixedReality::Toolkit::XRSDK::Input::GenericXRSDKController ^ GetOrAddController(UnityEngine::XR::InputDevice inputDevice);
protected override Microsoft.MixedReality.Toolkit.XRSDK.Input.GenericXRSDKController GetOrAddController (UnityEngine.XR.InputDevice inputDevice);
override this.GetOrAddController : UnityEngine.XR.InputDevice -> Microsoft.MixedReality.Toolkit.XRSDK.Input.GenericXRSDKController
Protected Overrides Function GetOrAddController (inputDevice As InputDevice) As GenericXRSDKController

Parameters

inputDevice
UnityEngine.XR.InputDevice

Returns

Applies to