MCPcopy Create free account
hub / github.com/LibreVR/Revive / ovr_GetTrackingStateWithSensorData

Function ovr_GetTrackingStateWithSensorData

Revive/REV_CAPI.cpp:404–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402typedef struct ovrSensorData_ ovrSensorData;
403
404OVR_PUBLIC_FUNCTION(ovrTrackingState) ovr_GetTrackingStateWithSensorData(ovrSession session, double absTime, ovrBool latencyMarker, ovrSensorData* sensorData)
405{
406 REV_TRACE(ovr_GetTrackingStateWithSensorData);
407
408 // This is a private API, ignore the raw sensor data request and hope for the best.
409 assert(sensorData == nullptr);
410
411 return ovr_GetTrackingState(session, absTime, latencyMarker);
412}
413
414OVR_PUBLIC_FUNCTION(ovrTrackerPose) ovr_GetTrackerPose(ovrSession session, unsigned int trackerPoseIndex)
415{

Callers

nothing calls this directly

Calls 1

ovr_GetTrackingStateFunction · 0.70

Tested by

no test coverage detected