GenericXRSDKController.UpdateSourceData(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.
Update the source input from the device.
public:
void UpdateSourceData(UnityEngine::XR::InputDevice inputDevice);
public:
bool UpdateSourceData(UnityEngine::XR::InputDevice inputDevice);
public void UpdateSourceData (UnityEngine.XR.InputDevice inputDevice);
public bool UpdateSourceData (UnityEngine.XR.InputDevice inputDevice);
member this.UpdateSourceData : UnityEngine.XR.InputDevice -> unit
member this.UpdateSourceData : UnityEngine.XR.InputDevice -> bool
Public Sub UpdateSourceData (inputDevice As InputDevice)
Public Function UpdateSourceData (inputDevice As InputDevice) As Boolean
Parameters
- inputDevice
- UnityEngine.XR.InputDevice
The InputDevice retrieved from the platform.
Returns
Whether position or rotation was successfully updated.