Class VROverlayIntersectionResults

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

    public class VROverlayIntersectionResults
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource

    Layout

    
     struct VROverlayIntersectionResults_t {
         HmdVector3_t vPoint;
         HmdVector3_t vNormal;
         HmdVector2_t vUVs;
         float fDistance;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • VPOINT, VNORMAL, VUVS, FDISTANCE

        The struct member offsets.
    • Constructor Detail

      • VROverlayIntersectionResults

        public VROverlayIntersectionResults​(java.nio.ByteBuffer container)
        Creates a VROverlayIntersectionResults 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.