Package org.lwjgl.ovr

Class OVRTrackerDesc

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

    public class OVRTrackerDesc
    extends Struct
    implements NativeResource
    Specifies the description of a single sensor.

    Member documentation

    • FrustumHFovInRadians – sensor frustum horizontal field-of-view (if present).
    • FrustumVFovInRadians – sensor frustum vertical field-of-view (if present).
    • FrustumNearZInMeters – sensor frustum near Z (if present).
    • FrustumFarZInMeters – sensor frustum far Z (if present).

    Layout

    
     struct ovrTrackerDesc {
         float FrustumHFovInRadians;
         float FrustumVFovInRadians;
         float FrustumNearZInMeters;
         float FrustumFarZInMeters;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • FRUSTUMHFOVINRADIANS, FRUSTUMVFOVINRADIANS, FRUSTUMNEARZINMETERS, FRUSTUMFARZINMETERS

        The struct member offsets.
    • Constructor Detail

      • OVRTrackerDesc

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