GenericXRSDKController.UpdateSourceData(InputDevice) Method

Definition

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.

Applies to