VARJO TRACKING PLUGIN SDK DOCUMENTATION
Varjo_motion_platform.h File Reference

Go to the source code of this file.

Functions

varjo_PluginStatus varjo_UpdatePose (varjo_PluginContext context, varjo_DeviceType deviceType, const varjo_DevicePose *pose, varjo_DevicePose *updatedPose)
 Requests tracked device pose update. More...
 

Function Documentation

◆ varjo_UpdatePose()

varjo_PluginStatus varjo_UpdatePose ( varjo_PluginContext  context,
varjo_DeviceType  deviceType,
const varjo_DevicePose pose,
varjo_DevicePose updatedPose 
)

Requests tracked device pose update.

Parameters
context- plugin session context acquired from varjo_PluginInit
deviceType- device type for which the pose update is requested
pose- pointer to a structure containing the current device pose estimate
updatedPose- pointer to a structure receiving tracking pose
Returns
varjo_PluginStatus_OK if the pose was updated successfully, other value of type varjo_PluginStatus otherwise