Package org.lwjgl.ovr

Class OVRBoundaryTestResult

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<OVRBoundaryTestResult>
org.lwjgl.ovr.OVRBoundaryTestResult
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class OVRBoundaryTestResult extends org.lwjgl.system.Struct<OVRBoundaryTestResult> implements org.lwjgl.system.NativeResource
Provides boundary test information.

Layout


 struct ovrBoundaryTestResult {
     ovrBool IsTriggering();
     float ClosestDistance();
     ovrVector3f ClosestPoint();
     ovrVector3f ClosestPointNormal();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • ISTRIGGERING

      public static final int ISTRIGGERING
      The struct member offsets.
    • CLOSESTDISTANCE

      public static final int CLOSESTDISTANCE
      The struct member offsets.
    • CLOSESTPOINT

      public static final int CLOSESTPOINT
      The struct member offsets.
    • CLOSESTPOINTNORMAL

      public static final int CLOSESTPOINTNORMAL
      The struct member offsets.
  • Constructor Details

    • OVRBoundaryTestResult

      public OVRBoundaryTestResult(ByteBuffer container)
      Creates a OVRBoundaryTestResult instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details