#[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: ovrBoolTrue if the boundary system is being triggered. Note that due to fade in/out effects this may not exactly match visibility.
ClosestDistance: f32Distance to the closest play area or outer boundary surface.
ClosestPoint: ovrVector3fClosest point on the boundary surface.
ClosestPointNormal: ovrVector3fUnit 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 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 ovrBoundaryTestResult
impl Debug for ovrBoundaryTestResult
impl Copy for ovrBoundaryTestResult
Auto Trait Implementations§
impl Freeze for ovrBoundaryTestResult
impl RefUnwindSafe for ovrBoundaryTestResult
impl Send for ovrBoundaryTestResult
impl Sync for ovrBoundaryTestResult
impl Unpin for ovrBoundaryTestResult
impl UnwindSafe for ovrBoundaryTestResult
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