{ UpTan = tan(90 degrees / 2), DownTan = tan(90 degrees / 2) }
struct ovrFovPort {
float UpTan;
float DownTan;
float LeftTan;
float RightTan;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | OVRFovPort.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DOWNTAN
The struct member offsets. |
| public static final int | LEFTTAN
The struct member offsets. |
| public static final int | RIGHTTAN
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | UPTAN
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | OVRFovPort(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static OVRFovPort | |
| public static OVRFovPort. | calloc(int
the buffer capacity capacity)Returns a new |
| public static OVRFovPort | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRFovPort. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static OVRFovPort | |
| public static OVRFovPort | |
| public static OVRFovPort. | |
| public static OVRFovPort. | |
| protected OVRFovPort | 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 OVRFovPort | |
| public static OVRFovPort | |
| public static OVRFovPort. | create(int
the buffer capacity capacity)Returns a new |
| public static OVRFovPort. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static OVRFovPort | |
| public static OVRFovPort. | |
| public float | |
| public OVRFovPort | |
| public float | |
| public OVRFovPort | |
| public static OVRFovPort | |
| public static OVRFovPort. | malloc(int
the buffer capacity capacity)Returns a new |
| public static OVRFovPort | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRFovPort. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static OVRFovPort | |
| public static OVRFovPort | |
| public static OVRFovPort. | |
| public static OVRFovPort. | |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public float | |
| public OVRFovPort | |
| public OVRFovPort | set(float UpTan, float DownTan, float LeftTan, float RightTan)
Initializes this struct with the specified values. |
| public OVRFovPort | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public float | |
| public OVRFovPort |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DOWNTAN | back to summary |
|---|---|
| public static final int DOWNTAN The struct member offsets. | |
| LEFTTAN | back to summary |
|---|---|
| public static final int LEFTTAN The struct member offsets. | |
| RIGHTTAN | back to summary |
|---|---|
| public static final int RIGHTTAN The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| UPTAN | back to summary |
|---|---|
| public static final int UPTAN The struct member offsets. | |
| OVRFovPort | back to summary |
|---|---|
| protected OVRFovPort(long address, ByteBuffer container) | |
| OVRFovPort | back to summary |
|---|---|
| public OVRFovPort(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static OVRFovPort calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static OVRFovPort. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static OVRFovPort calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static OVRFovPort. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static OVRFovPort callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVRFovPort callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVRFovPort. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVRFovPort. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected OVRFovPort create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static OVRFovPort create() Returns a new | |
| create | back to summary |
|---|---|
| public static OVRFovPort create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static OVRFovPort. Returns a new
| |
| create | back to summary |
|---|---|
| public static OVRFovPort. Create a
| |
| createSafe | back to summary |
|---|---|
| public static OVRFovPort createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static OVRFovPort. Like
| |
| DownTan | back to summary |
|---|---|
| public float DownTan() tangent of the angle between the viewing vector and bottom edge of the FOV | |
| DownTan | back to summary |
|---|---|
| public OVRFovPort DownTan(float value) Sets the specified value to the | |
| LeftTan | back to summary |
|---|---|
| public float LeftTan() tangent of the angle between the viewing vector and left edge of the FOV | |
| LeftTan | back to summary |
|---|---|
| public OVRFovPort LeftTan(float value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static OVRFovPort malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static OVRFovPort. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static OVRFovPort malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static OVRFovPort. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static OVRFovPort mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVRFovPort mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVRFovPort. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVRFovPort. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nDownTan | back to summary |
|---|---|
| public static float nDownTan(long struct) Unsafe version of | |
| nDownTan | back to summary |
|---|---|
| public static void nDownTan(long struct, float value) Unsafe version of | |
| nLeftTan | back to summary |
|---|---|
| public static float nLeftTan(long struct) Unsafe version of | |
| nLeftTan | back to summary |
|---|---|
| public static void nLeftTan(long struct, float value) Unsafe version of | |
| nRightTan | back to summary |
|---|---|
| public static float nRightTan(long struct) Unsafe version of | |
| nRightTan | back to summary |
|---|---|
| public static void nRightTan(long struct, float value) Unsafe version of | |
| nUpTan | back to summary |
|---|---|
| public static float nUpTan(long struct) Unsafe version of | |
| nUpTan | back to summary |
|---|---|
| public static void nUpTan(long struct, float value) Unsafe version of | |
| RightTan | back to summary |
|---|---|
| public float RightTan() tangent of the angle between the viewing vector and right edge of the FOV | |
| RightTan | back to summary |
|---|---|
| public OVRFovPort RightTan(float value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public OVRFovPort set(float UpTan, float DownTan, float LeftTan, float RightTan) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public OVRFovPort set(OVRFovPort src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| UpTan | back to summary |
|---|---|
| public float UpTan() tangent of the angle between the viewing vector and top edge of the FOV | |
| UpTan | back to summary |
|---|---|
| public OVRFovPort UpTan(float value) Sets the specified value to the | |
OVRFovPort structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final OVRFovPort |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public OVRFovPort. | |
| protected OVRFovPort | |
| public float | |
| public OVRFovPort. | |
| public float | |
| public OVRFovPort. | |
| protected OVRFovPort. | |
| public float | |
| public OVRFovPort. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final OVRFovPort 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) | |
| DownTan | back to summary |
|---|---|
public float DownTan()
| |
| DownTan | back to summary |
|---|---|
| public OVRFovPort. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected OVRFovPort getElementFactory() Implements abstract org.
| |
| LeftTan | back to summary |
|---|---|
public float LeftTan()
| |
| LeftTan | back to summary |
|---|---|
| public OVRFovPort. Sets the specified value to the | |
| RightTan | back to summary |
|---|---|
public float RightTan()
| |
| RightTan | back to summary |
|---|---|
| public OVRFovPort. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected OVRFovPort. Implements abstract org.
| |
| UpTan | back to summary |
|---|---|
public float UpTan()
| |
| UpTan | back to summary |
|---|---|
| public OVRFovPort. Sets the specified value to the | |