OpenXRDeviceManager.GetOrAddController(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.
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