Struct ovr_sys::ovrBoundaryTestResult
[−]
[src]
#[repr(C)]pub struct ovrBoundaryTestResult { pub IsTriggering: ovrBool, pub ClosestDistance: f32, pub ClosestPoint: ovrVector3f, pub ClosestPointNormal: ovrVector3f, }
Provides boundary test information
Fields
IsTriggering: ovrBool
True if the boundary system is being triggered. Note that due to fade in/out effects this may not exactly match visibility.
ClosestDistance: f32
Distance to the closest play area or outer boundary surface.
ClosestPoint: ovrVector3f
Closest point on the boundary surface.
ClosestPointNormal: ovrVector3f
Unit surface normal of the closest boundary surface.
Trait Implementations
impl Debug for ovrBoundaryTestResult
[src]
impl Copy for ovrBoundaryTestResult
[src]
impl Clone for ovrBoundaryTestResult
[src]
fn clone(&self) -> ovrBoundaryTestResult
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