XR_OCULUS_external_camera extension must be enabled prior to using XrExternalCameraIntrinsicsOCULUSXrExtent2Di, XrExternalCameraOCULUS, XrFovf
struct XrExternalCameraIntrinsicsOCULUS {
XrTime lastChangeTime;
XrFovf fov;
float virtualNearPlaneDistance;
float virtualFarPlaneDistance;
XrExtent2Di imageSensorPixelResolution;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrExternalCameraIntrinsicsOCULUS.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FOV
The struct member offsets. |
| public static final int | IMAGESENSORPIXELRESOLUTION
The struct member offsets. |
| public static final int | LASTCHANGETIME
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VIRTUALFARPLANEDISTANCE
The struct member offsets. |
| public static final int | VIRTUALNEARPLANEDISTANCE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrExternalCameraIntrinsicsOCULUS(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrExternalCameraIntrinsicsOCULUS | |
| public static XrExternalCameraIntrinsicsOCULUS. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrExternalCameraIntrinsicsOCULUS | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrExternalCameraIntrinsicsOCULUS. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrExternalCameraIntrinsicsOCULUS | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static XrExternalCameraIntrinsicsOCULUS | |
| public static XrExternalCameraIntrinsicsOCULUS | create(long address)
Returns a new |
| public static XrExternalCameraIntrinsicsOCULUS. | create(int
the buffer capacity capacity)Returns a new |
| public static XrExternalCameraIntrinsicsOCULUS. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrExternalCameraIntrinsicsOCULUS | |
| public static XrExternalCameraIntrinsicsOCULUS. | |
| public XrFovf | |
| public XrExternalCameraIntrinsicsOCULUS | |
| public XrExternalCameraIntrinsicsOCULUS | |
| public XrExtent2Di | |
| public XrExternalCameraIntrinsicsOCULUS | imageSensorPixelResolution(XrExtent2Di value)
Copies the specified |
| public XrExternalCameraIntrinsicsOCULUS | imageSensorPixelResolution(Consumer<XrExtent2Di> consumer)
Passes the |
| public long | |
| public XrExternalCameraIntrinsicsOCULUS | |
| public static XrExternalCameraIntrinsicsOCULUS | |
| public static XrExternalCameraIntrinsicsOCULUS. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrExternalCameraIntrinsicsOCULUS | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrExternalCameraIntrinsicsOCULUS. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static XrFovf | |
| public static void | |
| public static XrExtent2Di | |
| public static void | nimageSensorPixelResolution(long struct, XrExtent2Di value)
Unsafe version of |
| public static long | |
| public static void | |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public XrExternalCameraIntrinsicsOCULUS | set(long lastChangeTime, XrFovf fov, float virtualNearPlaneDistance, float virtualFarPlaneDistance, XrExtent2Di imageSensorPixelResolution)
Initializes this struct with the specified values. |
| public XrExternalCameraIntrinsicsOCULUS | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public float | virtualFarPlaneDistance()
the far plane distance of the virtual camera used to match the external camera |
| public XrExternalCameraIntrinsicsOCULUS | |
| public float | virtualNearPlaneDistance()
the near plane distance of the virtual camera used to match the external camera |
| public XrExternalCameraIntrinsicsOCULUS | virtualNearPlaneDistance(float value)
Sets the specified value to the |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FOV | back to summary |
|---|---|
| public static final int FOV The struct member offsets. | |
| IMAGESENSORPIXELRESOLUTION | back to summary |
|---|---|
| public static final int IMAGESENSORPIXELRESOLUTION The struct member offsets. | |
| LASTCHANGETIME | back to summary |
|---|---|
| public static final int LASTCHANGETIME The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VIRTUALFARPLANEDISTANCE | back to summary |
|---|---|
| public static final int VIRTUALFARPLANEDISTANCE The struct member offsets. | |
| VIRTUALNEARPLANEDISTANCE | back to summary |
|---|---|
| public static final int VIRTUALNEARPLANEDISTANCE The struct member offsets. | |
| XrExternalCameraIntrinsicsOCULUS | back to summary |
|---|---|
| protected XrExternalCameraIntrinsicsOCULUS(long address, ByteBuffer container) | |
| XrExternalCameraIntrinsicsOCULUS | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrExternalCameraIntrinsicsOCULUS calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrExternalCameraIntrinsicsOCULUS. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrExternalCameraIntrinsicsOCULUS calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrExternalCameraIntrinsicsOCULUS. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrExternalCameraIntrinsicsOCULUS create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrExternalCameraIntrinsicsOCULUS create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrExternalCameraIntrinsicsOCULUS create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrExternalCameraIntrinsicsOCULUS. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrExternalCameraIntrinsicsOCULUS. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrExternalCameraIntrinsicsOCULUS createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrExternalCameraIntrinsicsOCULUS. Like
| |
| fov | back to summary |
|---|---|
| public XrFovf fov() the | |
| fov | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS fov(XrFovf value) | |
| fov | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS fov(Consumer<XrFovf> consumer) | |
| imageSensorPixelResolution | back to summary |
|---|---|
| public XrExtent2Di imageSensorPixelResolution() the | |
| imageSensorPixelResolution | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS imageSensorPixelResolution(XrExtent2Di value) Copies the specified | |
| imageSensorPixelResolution | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS imageSensorPixelResolution(Consumer<XrExtent2Di> consumer) Passes the | |
| lastChangeTime | back to summary |
|---|---|
| public long lastChangeTime() the
| |
| lastChangeTime | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS lastChangeTime(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static XrExternalCameraIntrinsicsOCULUS malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrExternalCameraIntrinsicsOCULUS. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrExternalCameraIntrinsicsOCULUS malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrExternalCameraIntrinsicsOCULUS. Returns a new
| |
| nfov | back to summary |
|---|---|
| public static XrFovf nfov(long struct) Unsafe version of | |
| nfov | back to summary |
|---|---|
| public static void nfov(long struct, XrFovf value) Unsafe version of | |
| nimageSensorPixelResolution | back to summary |
|---|---|
| public static XrExtent2Di nimageSensorPixelResolution(long struct) Unsafe version of | |
| nimageSensorPixelResolution | back to summary |
|---|---|
| public static void nimageSensorPixelResolution(long struct, XrExtent2Di value) Unsafe version of | |
| nlastChangeTime | back to summary |
|---|---|
| public static long nlastChangeTime(long struct) Unsafe version of | |
| nlastChangeTime | back to summary |
|---|---|
| public static void nlastChangeTime(long struct, long value) Unsafe version of | |
| nvirtualFarPlaneDistance | back to summary |
|---|---|
| public static float nvirtualFarPlaneDistance(long struct) Unsafe version of | |
| nvirtualFarPlaneDistance | back to summary |
|---|---|
| public static void nvirtualFarPlaneDistance(long struct, float value) Unsafe version of | |
| nvirtualNearPlaneDistance | back to summary |
|---|---|
| public static float nvirtualNearPlaneDistance(long struct) Unsafe version of | |
| nvirtualNearPlaneDistance | back to summary |
|---|---|
| public static void nvirtualNearPlaneDistance(long struct, float value) Unsafe version of | |
| set | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS set(long lastChangeTime, XrFovf fov, float virtualNearPlaneDistance, float virtualFarPlaneDistance, XrExtent2Di imageSensorPixelResolution) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS set(XrExternalCameraIntrinsicsOCULUS src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| virtualFarPlaneDistance | back to summary |
|---|---|
| public float virtualFarPlaneDistance() the far plane distance of the virtual camera used to match the external camera | |
| virtualFarPlaneDistance | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS virtualFarPlaneDistance(float value) Sets the specified value to the | |
| virtualNearPlaneDistance | back to summary |
|---|---|
| public float virtualNearPlaneDistance() the near plane distance of the virtual camera used to match the external camera | |
| virtualNearPlaneDistance | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS virtualNearPlaneDistance(float value) Sets the specified value to the | |
XrExternalCameraIntrinsicsOCULUS structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrExternalCameraIntrinsicsOCULUS |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrExternalCameraIntrinsicsOCULUS ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| fov | back to summary |
|---|---|
public XrFovf fov()
| |
| fov | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS. Copies the specified | |
| fov | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS. Passes the | |
| getElementFactory | back to summary |
|---|---|
| protected XrExternalCameraIntrinsicsOCULUS getElementFactory() Implements abstract org.
| |
| imageSensorPixelResolution | back to summary |
|---|---|
public XrExtent2Di imageSensorPixelResolution()
| |
| imageSensorPixelResolution | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS. Copies the specified | |
| imageSensorPixelResolution | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS. Passes the | |
| lastChangeTime | back to summary |
|---|---|
public long lastChangeTime()
| |
| lastChangeTime | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrExternalCameraIntrinsicsOCULUS. Implements abstract org.
| |
| virtualFarPlaneDistance | back to summary |
|---|---|
public float virtualFarPlaneDistance()
| |
| virtualFarPlaneDistance | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS. Sets the specified value to the | |
| virtualNearPlaneDistance | back to summary |
|---|---|
public float virtualNearPlaneDistance()
| |
| virtualNearPlaneDistance | back to summary |
|---|---|
| public XrExternalCameraIntrinsicsOCULUS. Sets the specified value to the | |