Function ovr_sys::ovr_GetBoundaryVisible
source · pub unsafe extern "C" fn ovr_GetBoundaryVisible(
session: ovrSession,
outIsVisible: *mut ovrBool
) -> ovrResult
Expand description
Returns if the boundary is currently visible. Note: visibility is false if the user has turned off boundaries, otherwise, it’s true if the app has requested boundaries to be visible or if any tracked device is currently triggering it. This may not exactly match rendering due to fade-in and fade-out effects.
session
Specifies an ovrSession
previously returned by ovr_Create
.
out outIsVisible
ovrTrue
, if the boundary is visible.
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
: Result was successful and a result was returned.
* ovrSuccess_BoundaryInvalid
: The call succeeded but the result is not a valid boundary due to not being set up.