Struct ovr_sys::ovrBoundaryTestResult
source · #[repr(C)]pub struct ovrBoundaryTestResult {
pub IsTriggering: ovrBool,
pub ClosestDistance: f32,
pub ClosestPoint: ovrVector3f,
pub ClosestPointNormal: ovrVector3f,
}
Expand description
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§
source§impl Clone for ovrBoundaryTestResult
impl Clone for ovrBoundaryTestResult
source§fn clone(&self) -> ovrBoundaryTestResult
fn clone(&self) -> ovrBoundaryTestResult
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