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

Function ovr_GetTrackingState

Revive/REV_CAPI.cpp:378–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378OVR_PUBLIC_FUNCTION(ovrTrackingState) ovr_GetTrackingState(ovrSession session, double absTime, ovrBool latencyMarker)
379{
380 REV_TRACE(ovr_GetTrackingState);
381
382 ovrTrackingState state = { 0 };
383
384 if (!session)
385 return state;
386
387 session->Input->GetTrackingState(session, &state, absTime);
388 return state;
389}
390
391OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetDevicePoses(ovrSession session, ovrTrackedDeviceType* deviceTypes, int deviceCount, double absTime, ovrPoseStatef* outDevicePoses)
392{

Calls 1

GetTrackingStateMethod · 0.45

Tested by

no test coverage detected