편집

다음을 통해 공유


XRSDKDeviceManager.GetOrAddController(InputDevice) Method

Definition

Gets or adds a controller using the InputDevice name provided.

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

Parameters

inputDevice
UnityEngine.XR.InputDevice

The InputDevice from XR SDK.

Returns

The controller reference.

Applies to