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

Function ovr_GetBoundaryDimensions

Revive/REV_CAPI.cpp:721–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719}
720
721OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetBoundaryDimensions(ovrSession session, ovrBoundaryType boundaryType, ovrVector3f* outDimensions)
722{
723 REV_TRACE(ovr_GetBoundaryDimensions);
724
725 outDimensions->y = 0.0f; // TODO: Find some good default height
726 bool valid = vr::VRChaperone()->GetPlayAreaSize(&outDimensions->x, &outDimensions->z);
727 return valid ? ovrSuccess : ovrSuccess_BoundaryInvalid;
728}
729
730OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetBoundaryVisible(ovrSession session, ovrBool* outIsVisible)
731{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected