Package org.lwjgl.ovr

Class OVRBoundaryTestResult

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class OVRBoundaryTestResult
    extends Struct
    implements NativeResource
    Provides boundary test information.

    Member documentation

    • IsTriggering – True if the boundary system is being triggered. Note that due to fade in/out effects this may not exactly match visibility.
    • ClosestDistance – Distance to the closest play area or outer boundary surface
    • ClosestPoint – Closest point on the boundary surface
    • ClosestPointNormal – Unit surface normal of the closest boundary surface

    Layout

    
     struct ovrBoundaryTestResult {
         ovrBool IsTriggering;
         float ClosestDistance;
         ovrVector3f ClosestPoint;
         ovrVector3f ClosestPointNormal;
     }