Top Description Inners Fields Constructors Methods
org.lwjgl.ovr

public Class OVRCameraIntrinsics

extends Struct<OVRCameraIntrinsics>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Annotations
@NativeType:struct ovrCameraIntrinsics
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Layout


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

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
EXPOSUREDURATIONSECONDS

The struct member offsets.

public static final int
EXPOSUREPERIODSECONDS

The struct member offsets.

public static final int
FOVPORT

The struct member offsets.

public static final int
IMAGESENSORPIXELRESOLUTION

The struct member offsets.

public static final int
LASTCHANGEDTIME

The struct member offsets.

public static final int
LENSDISTORTIONMATRIX

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
VIRTUALFARPLANEDISTANCEMETERS

The struct member offsets.

public static final int
VIRTUALNEARPLANEDISTANCEMETERS

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
OVRCameraIntrinsics(long address, ByteBuffer container)

public
OVRCameraIntrinsics(ByteBuffer container)

Creates a OVRCameraIntrinsics instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static OVRCameraIntrinsics
calloc()

Returns a new OVRCameraIntrinsics instance allocated with memCalloc.

public static OVRCameraIntrinsics.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new OVRCameraIntrinsics.Buffer instance allocated with memCalloc.

public static OVRCameraIntrinsics
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new OVRCameraIntrinsics instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static OVRCameraIntrinsics.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new OVRCameraIntrinsics.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static OVRCameraIntrinsics
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static OVRCameraIntrinsics
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static OVRCameraIntrinsics.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static OVRCameraIntrinsics.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected OVRCameraIntrinsics
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static OVRCameraIntrinsics
create()

Returns a new OVRCameraIntrinsics instance allocated with BufferUtils.

public static OVRCameraIntrinsics
create(long address)

Returns a new OVRCameraIntrinsics instance for the specified memory address.

public static OVRCameraIntrinsics.Buffer
create(int
the buffer capacity
capacity
)

Returns a new OVRCameraIntrinsics.Buffer instance allocated with BufferUtils.

public static OVRCameraIntrinsics.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a OVRCameraIntrinsics.Buffer instance at the specified memory.

public static OVRCameraIntrinsics
createSafe(long address)

Like create, but returns null if address is NULL.

public static OVRCameraIntrinsics.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public double
ExposureDurationSeconds()

length of the exposure time

public OVRCameraIntrinsics
ExposureDurationSeconds(double value)

Sets the specified value to the ExposureDurationSeconds field.

public double
ExposurePeriodSeconds()

how often, in seconds, the exposure is taken

public OVRCameraIntrinsics
ExposurePeriodSeconds(double value)

Sets the specified value to the ExposurePeriodSeconds field.

public OVRFovPort
FOVPort()

angles of all 4 sides of viewport

public OVRCameraIntrinsics
FOVPort(OVRFovPort value)

Copies the specified OVRFovPort to the FOVPort field.

public OVRCameraIntrinsics
FOVPort(Consumer<OVRFovPort> consumer)

Passes the FOVPort field to the specified Consumer.

public OVRSizei
ImageSensorPixelResolution()

height in pixels of image sensor

public OVRCameraIntrinsics
public OVRCameraIntrinsics
public double
LastChangedTime()

time in seconds from last change to the parameters

public OVRCameraIntrinsics
LastChangedTime(double value)

Sets the specified value to the LastChangedTime field.

public OVRMatrix4f
LensDistortionMatrix()

the lens distortion matrix of camera

public OVRCameraIntrinsics
LensDistortionMatrix(OVRMatrix4f value)

Copies the specified OVRMatrix4f to the LensDistortionMatrix field.

public OVRCameraIntrinsics
LensDistortionMatrix(Consumer<OVRMatrix4f> consumer)

Passes the LensDistortionMatrix field to the specified Consumer.

public static OVRCameraIntrinsics
malloc()

Returns a new OVRCameraIntrinsics instance allocated with memAlloc.

public static OVRCameraIntrinsics.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new OVRCameraIntrinsics.Buffer instance allocated with memAlloc.

public static OVRCameraIntrinsics
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new OVRCameraIntrinsics instance allocated on the specified MemoryStack.

public static OVRCameraIntrinsics.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new OVRCameraIntrinsics.Buffer instance allocated on the specified MemoryStack.

public static OVRCameraIntrinsics
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static OVRCameraIntrinsics
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static OVRCameraIntrinsics.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static OVRCameraIntrinsics.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static double
nExposureDurationSeconds(long struct)

Unsafe version of ExposureDurationSeconds.

public static void
nExposureDurationSeconds(long struct, double value)

Unsafe version of ExposureDurationSeconds.

public static double
nExposurePeriodSeconds(long struct)

Unsafe version of ExposurePeriodSeconds.

public static void
nExposurePeriodSeconds(long struct, double value)

Unsafe version of ExposurePeriodSeconds.

public static OVRFovPort
nFOVPort(long struct)

Unsafe version of FOVPort.

public static void
nFOVPort(long struct, OVRFovPort value)

Unsafe version of FOVPort.

public static OVRSizei
public static void
nImageSensorPixelResolution(long struct, OVRSizei value)

Unsafe version of ImageSensorPixelResolution.

public static double
nLastChangedTime(long struct)

Unsafe version of LastChangedTime.

public static void
nLastChangedTime(long struct, double value)

Unsafe version of LastChangedTime.

public static OVRMatrix4f
nLensDistortionMatrix(long struct)

Unsafe version of LensDistortionMatrix.

public static void
nLensDistortionMatrix(long struct, OVRMatrix4f value)

Unsafe version of LensDistortionMatrix.

public static float
public static void
nVirtualFarPlaneDistanceMeters(long struct, float value)

Unsafe version of VirtualFarPlaneDistanceMeters.

public static float
public static void
nVirtualNearPlaneDistanceMeters(long struct, float value)

Unsafe version of VirtualNearPlaneDistanceMeters.

public OVRCameraIntrinsics
set(double LastChangedTime, OVRFovPort FOVPort, float VirtualNearPlaneDistanceMeters, float VirtualFarPlaneDistanceMeters, OVRSizei ImageSensorPixelResolution, OVRMatrix4f LensDistortionMatrix, double ExposurePeriodSeconds, double ExposureDurationSeconds)

Initializes this struct with the specified values.

public OVRCameraIntrinsics

Returns:

this struct
set
(OVRCameraIntrinsics
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public float
VirtualFarPlaneDistanceMeters()

far plane of the virtual camera used to match the external camera

public OVRCameraIntrinsics
VirtualFarPlaneDistanceMeters(float value)

Sets the specified value to the VirtualFarPlaneDistanceMeters field.

public float
VirtualNearPlaneDistanceMeters()

near plane of the virtual camera used to match the external camera

public OVRCameraIntrinsics
VirtualNearPlaneDistanceMeters(float value)

Sets the specified value to the VirtualNearPlaneDistanceMeters field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate