pub unsafe extern "C" fn ovr_GetBoundaryGeometry(
    session: ovrSession,
    boundaryType: ovrBoundaryType,
    outFloorPoints: *mut ovrVector3f,
    outFloorPointsCount: *mut c_int
) -> ovrResult
Expand description

Gets the geometry of the Boundary System’s “play area” or “outer boundary” as 3D floor points.

session Specifies an ovrSession previously returned by ovr_Create.

boundaryType Must be either ovrBoundary_Outer or ovrBoundary_PlayArea.

out outFloorPoints Array of 3D points (in clockwise order) defining the boundary at floor height (can be NULL to retrieve only the number of points). out outFloorPointsCount Number of 3D points returned in the array.

Returns an ovrResult for which OVR_SUCCESS(result) is false upon error and true upon success. Return values include but aren’t limited to: * ovrSuccess: The call succeeded and a result was returned. * ovrSuccess_BoundaryInvalid: The call succeeded but the result is not a valid boundary due to not being set up.