#[repr(C)]pub struct ovrSessionStatus {
pub IsVisible: ovrBool,
pub HmdPresent: ovrBool,
pub HmdMounted: ovrBool,
pub DisplayLost: ovrBool,
pub ShouldQuit: ovrBool,
pub ShouldRecenter: ovrBool,
}Expand description
Specifies status information for the current session.
Fields§
§IsVisible: ovrBoolTrue if the process has VR focus and thus is visible in the HMD.
HmdPresent: ovrBoolTrue if an HMD is present.
HmdMounted: ovrBoolTrue if the HMD is on the user’s head.
DisplayLost: ovrBoolTrue if the session is in a display-lost state. See ovr_SubmitFrame.
ShouldQuit: ovrBoolTrue if the application should initiate shutdown.
ShouldRecenter: ovrBoolTrue if UX has requested re-centering. Must call ovr_ClearShouldRecenterFlag, ovr_RecenterTrackingOrigin or ovr_SpecifyTrackingOrigin.
Trait Implementations§
Source§impl Clone for ovrSessionStatus
impl Clone for ovrSessionStatus
Source§fn clone(&self) -> ovrSessionStatus
fn clone(&self) -> ovrSessionStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ovrSessionStatus
impl Debug for ovrSessionStatus
impl Copy for ovrSessionStatus
Auto Trait Implementations§
impl Freeze for ovrSessionStatus
impl RefUnwindSafe for ovrSessionStatus
impl Send for ovrSessionStatus
impl Sync for ovrSessionStatus
impl Unpin for ovrSessionStatus
impl UnwindSafe for ovrSessionStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more