GenericXRSDKController.UpdateSourceData(InputDevice) Method

Definition

Update the source input from the device.

C++
public:
 void UpdateSourceData(UnityEngine::XR::InputDevice inputDevice);
C++
public:
 bool UpdateSourceData(UnityEngine::XR::InputDevice inputDevice);

Parameters

inputDevice
UnityEngine.XR.InputDevice

The InputDevice retrieved from the platform.

Returns

Whether position or rotation was successfully updated.

Applies to

Produkt Versioner
MRTK2 Unity 2019 2.7.0, 2.8.0
MRTK2 Unity 2020 2.7.0, 2.8.0