pub unsafe extern "C" fn ovr_GetBoundaryDimensions(
    session: ovrSession,
    boundaryType: ovrBoundaryType,
    outDimensions: *mut ovrVector3f
) -> ovrResult
Expand description

Gets the dimension of the Boundary System’s “play area” or “outer boundary”.

session Specifies an ovrSession previously returned by ovr_Create.

boundaryType Must be either ovrBoundary_Outer or ovrBoundary_PlayArea.

out dimensions Dimensions of the axis aligned bounding box that encloses the area in meters (width, height and length).

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.