The runtime must return ERROR_VALIDATION_FAILURE if farDistance is less than or equal to zero. The runtime must return ERROR_VALIDATION_FAILURE if the fov angles are not between between -π/2 and π/2 exclusively.
XR_MSFT_scene_understanding extension must be enabled prior to using XrSceneFrustumBoundMSFTXrFovf, XrPosef, XrSceneBoundsMSFT
struct XrSceneFrustumBoundMSFT {
XrPosef pose;
XrFovf fov;
float farDistance;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrSceneFrustumBoundMSFT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FARDISTANCE
The struct member offsets. |
| public static final int | FOV
The struct member offsets. |
| public static final int | POSE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrSceneFrustumBoundMSFT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrSceneFrustumBoundMSFT | |
| public static XrSceneFrustumBoundMSFT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrSceneFrustumBoundMSFT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSceneFrustumBoundMSFT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrSceneFrustumBoundMSFT | 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 XrSceneFrustumBoundMSFT | |
| public static XrSceneFrustumBoundMSFT | create(long address)
Returns a new |
| public static XrSceneFrustumBoundMSFT. | create(int
the buffer capacity capacity)Returns a new |
| public static XrSceneFrustumBoundMSFT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrSceneFrustumBoundMSFT | |
| public static XrSceneFrustumBoundMSFT. | |
| public float | farDistance()
the positive distance of the far plane of the frustum bound along the -Z direction of the frustum bound space. |
| public XrSceneFrustumBoundMSFT | |
| public XrFovf | |
| public XrSceneFrustumBoundMSFT | |
| public XrSceneFrustumBoundMSFT | |
| public static XrSceneFrustumBoundMSFT | |
| public static XrSceneFrustumBoundMSFT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrSceneFrustumBoundMSFT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSceneFrustumBoundMSFT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static float | |
| public static void | |
| public static XrFovf | |
| public static void | |
| public static XrPosef | |
| public static void | |
| public XrPosef | pose()
an |
| public XrSceneFrustumBoundMSFT | |
| public XrSceneFrustumBoundMSFT | |
| public XrSceneFrustumBoundMSFT | |
| public XrSceneFrustumBoundMSFT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FARDISTANCE | back to summary |
|---|---|
| public static final int FARDISTANCE The struct member offsets. | |
| FOV | back to summary |
|---|---|
| public static final int FOV The struct member offsets. | |
| POSE | back to summary |
|---|---|
| public static final int POSE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| XrSceneFrustumBoundMSFT | back to summary |
|---|---|
| protected XrSceneFrustumBoundMSFT(long address, ByteBuffer container) | |
| XrSceneFrustumBoundMSFT | back to summary |
|---|---|
| public XrSceneFrustumBoundMSFT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrSceneFrustumBoundMSFT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrSceneFrustumBoundMSFT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSceneFrustumBoundMSFT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSceneFrustumBoundMSFT. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrSceneFrustumBoundMSFT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrSceneFrustumBoundMSFT create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrSceneFrustumBoundMSFT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrSceneFrustumBoundMSFT. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrSceneFrustumBoundMSFT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrSceneFrustumBoundMSFT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrSceneFrustumBoundMSFT. Like
| |
| farDistance | back to summary |
|---|---|
| public float farDistance() the positive distance of the far plane of the frustum bound along the -Z direction of the frustum bound space. | |
| farDistance | back to summary |
|---|---|
| public XrSceneFrustumBoundMSFT farDistance(float value) Sets the specified value to the | |
| fov | back to summary |
|---|---|
| public XrFovf fov() an | |
| fov | back to summary |
|---|---|
| public XrSceneFrustumBoundMSFT fov(XrFovf value) | |
| fov | back to summary |
|---|---|
| public XrSceneFrustumBoundMSFT fov(Consumer<XrFovf> consumer) | |
| malloc | back to summary |
|---|---|
| public static XrSceneFrustumBoundMSFT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrSceneFrustumBoundMSFT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSceneFrustumBoundMSFT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSceneFrustumBoundMSFT. Returns a new
| |
| nfarDistance | back to summary |
|---|---|
| public static float nfarDistance(long struct) Unsafe version of | |
| nfarDistance | back to summary |
|---|---|
| public static void nfarDistance(long struct, float value) Unsafe version of | |
| 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 | |
| npose | back to summary |
|---|---|
| public static XrPosef npose(long struct) Unsafe version of | |
| npose | back to summary |
|---|---|
| public static void npose(long struct, XrPosef value) Unsafe version of | |
| pose | back to summary |
|---|---|
| public XrPosef pose() an | |
| pose | back to summary |
|---|---|
| public XrSceneFrustumBoundMSFT pose(XrPosef value) | |
| pose | back to summary |
|---|---|
| public XrSceneFrustumBoundMSFT pose(Consumer<XrPosef> consumer) | |
| set | back to summary |
|---|---|
| public XrSceneFrustumBoundMSFT set(XrPosef pose, XrFovf fov, float farDistance) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrSceneFrustumBoundMSFT set(XrSceneFrustumBoundMSFT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
XrSceneFrustumBoundMSFT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrSceneFrustumBoundMSFT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public XrSceneFrustumBoundMSFT. | |
| public XrFovf | |
| public XrSceneFrustumBoundMSFT. | |
| public XrSceneFrustumBoundMSFT. | fov(Consumer<XrFovf> consumer)
Passes the |
| protected XrSceneFrustumBoundMSFT | |
| public XrPosef | |
| public XrSceneFrustumBoundMSFT. | |
| public XrSceneFrustumBoundMSFT. | pose(Consumer<XrPosef> consumer)
Passes the |
| protected XrSceneFrustumBoundMSFT. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrSceneFrustumBoundMSFT 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) | |
| farDistance | back to summary |
|---|---|
public float farDistance()
| |
| farDistance | back to summary |
|---|---|
| public XrSceneFrustumBoundMSFT. Sets the specified value to the | |
| fov | back to summary |
|---|---|
public XrFovf fov()
| |
| fov | back to summary |
|---|---|
| public XrSceneFrustumBoundMSFT. Copies the specified | |
| fov | back to summary |
|---|---|
| public XrSceneFrustumBoundMSFT. Passes the | |
| getElementFactory | back to summary |
|---|---|
| protected XrSceneFrustumBoundMSFT getElementFactory() Implements abstract org.
| |
| pose | back to summary |
|---|---|
public XrPosef pose()
| |
| pose | back to summary |
|---|---|
| public XrSceneFrustumBoundMSFT. Copies the specified | |
| pose | back to summary |
|---|---|
| public XrSceneFrustumBoundMSFT. Passes the | |
| self | back to summary |
|---|---|
| protected XrSceneFrustumBoundMSFT. Implements abstract org.
| |