Struct ovr_sys::ovrDetectResult
source · #[repr(C)]pub struct ovrDetectResult {
pub _align: [u64; 0],
pub IsOculusServiceRunning: ovrBool,
pub IsOculusHMDConnected: ovrBool,
pub _pad0: [u8; 6],
}
Expand description
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§
source§impl Clone for ovrDetectResult
impl Clone for ovrDetectResult
source§fn clone(&self) -> ovrDetectResult
fn clone(&self) -> ovrDetectResult
Returns a copy 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 more