WVR_GetDegreeOfFreedom

WVR_EXPORT WVR_NumDoF WVR_GetDegreeOfFreedom(WVR_DeviceType type)

Function to get the Degree of Freedom (DoF) of device’s pose.

Return
WVR_NumDoF_3DoF means the device provides 3 DoF pose (only rotation), WVR_NumDoF_6DoF means the device provides 6 DoF pose (rotation and position). (refer to WVR_NumDoF)
Parameters

How to use

Here is an example for the function:

#include <wvr/wvr_device.h>

WVR_NumDoF numDof;
// Get the Dof (Degree Of Freedom) of HMD pose
numDof = WVR_GetDegreeOfFreedom(WVR_DeviceType_HMD);