Struct ovr_sys::ovrDetectResult
[−]
[src]
#[repr(C)]pub struct ovrDetectResult { pub _align: [u64; 0], pub IsOculusServiceRunning: ovrBool, pub IsOculusHMDConnected: ovrBool, pub _pad0: [u8; 6], }
Return values for ovr_Detect.
see ovr_Detect
Fields
_align: [u64; 0]
IsOculusServiceRunning: ovrBool
Is ovrFalse when the Oculus Service is not running.
This means that the Oculus Service is either uninstalled or stopped.
IsOculusHMDConnected will be ovrFalse in this case.
Is ovrTrue when the Oculus Service is running.
This means that the Oculus Service is installed and running.
IsOculusHMDConnected will reflect the state of the HMD.
IsOculusHMDConnected: ovrBool
Is ovrFalse when an Oculus HMD is not detected.
If the Oculus Service is not running, this will be ovrFalse.
Is ovrTrue when an Oculus HMD is detected.
This implies that the Oculus Service is also installed and running.
_pad0: [u8; 6]
\internal struct pad.
Trait Implementations
impl Copy for ovrDetectResult[src]
impl Clone for ovrDetectResult[src]
fn clone(&self) -> ovrDetectResult
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more