WVR_SetPosePredictEnabled

WVR_EXPORT void WVR_SetPosePredictEnabled(WVR_DeviceType type, bool enabled_position_predict, bool enabled_rotation_predict)

Function to enable or disable the position and rotation prediction of the pose.

Version
API Level 4
Note
You cannot disable the rotation prediction for the HMD. You can pick either the left or right controller to enable/disable the pose prediction of both controllers. By default, the HMD position prediction and controller pose prediction are disabled. This feature depend on the device’s capability of supporting pose prediction.
Parameters
  • type: Indicates what device type. (refer to WVR_DeviceType).
  • enabled_position_predict: Enable or disable the position prediction of the pose.
  • enabled_rotation_predict: Enable or disable the rotation prediction of the pose.

How to use

Here is an example for the function:

#include <wvr/wvr_device.h>

// initialize
WVR_SetPosePredictEnabled(WVR_DeviceType_HMD, true, true);
WVR_SetPosePredictEnabled(WVR_DeviceType_Controller_Right, true, true);

Please note even AP turn on pose prediction here, it is still depend on device’s supporting capablity. You should be able to see obviously improvment of slow motion effect when you are running VR on remote rendering case.