Package org.lwjgl.ovr

Class OVRCameraIntrinsics

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

    public class OVRCameraIntrinsics
    extends Struct
    implements NativeResource

    Member documentation

    • LastChangedTime – time in seconds from last change to the parameters
    • FOVPort – angles of all 4 sides of viewport
    • VirtualNearPlaneDistanceMeters – near plane of the virtual camera used to match the external camera
    • VirtualFarPlaneDistanceMeters – far plane of the virtual camera used to match the external camera
    • ImageSensorPixelResolution – height in pixels of image sensor
    • LensDistortionMatrix – the lens distortion matrix of camera
    • ExposurePeriodSeconds – how often, in seconds, the exposure is taken
    • ExposureDurationSeconds – length of the exposure time

    Layout

    
     struct ovrCameraIntrinsics {
         double LastChangedTime;
         ovrFovPort FOVPort;
         float VirtualNearPlaneDistanceMeters;
         float VirtualFarPlaneDistanceMeters;
         ovrSizei ImageSensorPixelResolution;
         ovrMatrix4f LensDistortionMatrix;
         double ExposurePeriodSeconds;
         double ExposureDurationSeconds;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • LASTCHANGEDTIME, FOVPORT, VIRTUALNEARPLANEDISTANCEMETERS, VIRTUALFARPLANEDISTANCEMETERS, IMAGESENSORPIXELRESOLUTION, LENSDISTORTIONMATRIX, EXPOSUREPERIODSECONDS, EXPOSUREDURATIONSECONDS

        The struct member offsets.
    • Constructor Detail

      • OVRCameraIntrinsics

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