May be used to query for spaces and perform a specific action on the spaces returned. The available actions are enumerated in XrSpaceQueryActionFB. The filter info provided to the filter member of the struct is used as an inclusive filter. The filter info provided to the excludeFilter member of the structure is used to exclude spaces from the results returned from the filter. All spaces that match the criteria in filter, and that do not match the criteria in excludeFilter, must be included in the results returned. This is to allow for a more selective style query.
XR_FB_spatial_entity_query extension must be enabled prior to using XrSpaceQueryInfoFBtype must be TYPE_SPACE_QUERY_INFO_FBnext must be NULL or a valid pointer to the next structure in a structure chainqueryAction must be a valid XrSpaceQueryActionFB valuefilter is not NULL, filter must be a pointer to a valid XrSpaceFilterInfoBaseHeaderFB-based structure. See also: XrSpaceComponentFilterInfoFB, XrSpaceUuidFilterInfoFBexcludeFilter is not NULL, excludeFilter must be a pointer to a valid XrSpaceFilterInfoBaseHeaderFB-based structure. See also: XrSpaceComponentFilterInfoFB, XrSpaceUuidFilterInfoFBXrSpaceFilterInfoBaseHeaderFB, XrSpaceQueryInfoBaseHeaderFB
struct XrSpaceQueryInfoFB {
XrStructureType type;
void const * next;
XrSpaceQueryActionFB queryAction;
uint32_t maxResultCount;
XrDuration timeout;
XrSpaceFilterInfoBaseHeaderFB const * filter;
XrSpaceFilterInfoBaseHeaderFB const * excludeFilter;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrSpaceQueryInfoFB.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | EXCLUDEFILTER
The struct member offsets. |
| public static final int | FILTER
The struct member offsets. |
| public static final int | MAXRESULTCOUNT
The struct member offsets. |
| public static final int | NEXT
The struct member offsets. |
| public static final int | QUERYACTION
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TIMEOUT
The struct member offsets. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrSpaceQueryInfoFB(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrSpaceQueryInfoFB | |
| public static XrSpaceQueryInfoFB. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrSpaceQueryInfoFB | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSpaceQueryInfoFB. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrSpaceQueryInfoFB | 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 XrSpaceQueryInfoFB | |
| public static XrSpaceQueryInfoFB | |
| public static XrSpaceQueryInfoFB | create(XrSpaceQueryInfoBaseHeaderFB value)
Downcasts the specified |
| public static XrSpaceQueryInfoFB. | create(int
the buffer capacity capacity)Returns a new |
| public static XrSpaceQueryInfoFB. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrSpaceQueryInfoFB. | create(XrSpaceQueryInfoBaseHeaderFB.
Downcasts the specified |
| public static XrSpaceQueryInfoFB | |
| public static XrSpaceQueryInfoFB. | |
| public XrSpaceFilterInfoBaseHeaderFB | |
| public XrSpaceQueryInfoFB | excludeFilter(XrSpaceFilterInfoBaseHeaderFB value)
Sets the address of the specified |
| public XrSpaceFilterInfoBaseHeaderFB | |
| public XrSpaceQueryInfoFB | filter(XrSpaceFilterInfoBaseHeaderFB value)
Sets the address of the specified |
| public static XrSpaceQueryInfoFB | |
| public static XrSpaceQueryInfoFB. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrSpaceQueryInfoFB | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSpaceQueryInfoFB. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | |
| public XrSpaceQueryInfoFB | |
| public static XrSpaceFilterInfoBaseHeaderFB | |
| public static void | |
| public long | |
| public XrSpaceQueryInfoFB | |
| public static XrSpaceFilterInfoBaseHeaderFB | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public int | |
| public XrSpaceQueryInfoFB | |
| public XrSpaceQueryInfoFB | set(int type, long next, int queryAction, int maxResultCount, long timeout, XrSpaceFilterInfoBaseHeaderFB filter, XrSpaceFilterInfoBaseHeaderFB excludeFilter)
Initializes this struct with the specified values. |
| public XrSpaceQueryInfoFB | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public XrSpaceQueryInfoFB | |
| public int | |
| public XrSpaceQueryInfoFB | |
| public XrSpaceQueryInfoFB |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| EXCLUDEFILTER | back to summary |
|---|---|
| public static final int EXCLUDEFILTER The struct member offsets. | |
| FILTER | back to summary |
|---|---|
| public static final int FILTER The struct member offsets. | |
| MAXRESULTCOUNT | back to summary |
|---|---|
| public static final int MAXRESULTCOUNT The struct member offsets. | |
| NEXT | back to summary |
|---|---|
| public static final int NEXT The struct member offsets. | |
| QUERYACTION | back to summary |
|---|---|
| public static final int QUERYACTION The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TIMEOUT | back to summary |
|---|---|
| public static final int TIMEOUT The struct member offsets. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| XrSpaceQueryInfoFB | back to summary |
|---|---|
| protected XrSpaceQueryInfoFB(long address, ByteBuffer container) | |
| XrSpaceQueryInfoFB | back to summary |
|---|---|
| public XrSpaceQueryInfoFB(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrSpaceQueryInfoFB create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB create(XrSpaceQueryInfoBaseHeaderFB value) Downcasts the specified | |
| create | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB. Create a
| |
| create | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB. Downcasts the specified | |
| createSafe | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB. Like
| |
| excludeFilter | back to summary |
|---|---|
| public XrSpaceFilterInfoBaseHeaderFB excludeFilter() NULL or a pointer to a valid structure based on
| |
| excludeFilter | back to summary |
|---|---|
| public XrSpaceQueryInfoFB excludeFilter(XrSpaceFilterInfoBaseHeaderFB value) Sets the address of the specified | |
| filter | back to summary |
|---|---|
| public XrSpaceFilterInfoBaseHeaderFB filter() NULL or a pointer to a valid structure based on
| |
| filter | back to summary |
|---|---|
| public XrSpaceQueryInfoFB filter(XrSpaceFilterInfoBaseHeaderFB value) Sets the address of the specified | |
| malloc | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSpaceQueryInfoFB. Returns a new
| |
| maxResultCount | back to summary |
|---|---|
| public int maxResultCount() the maximum number of entities to be found.
| |
| maxResultCount | back to summary |
|---|---|
| public XrSpaceQueryInfoFB maxResultCount(int value) Sets the specified value to the | |
| nexcludeFilter | back to summary |
|---|---|
| public static XrSpaceFilterInfoBaseHeaderFB nexcludeFilter(long struct) Unsafe version of
| |
| nexcludeFilter | back to summary |
|---|---|
| public static void nexcludeFilter(long struct, XrSpaceFilterInfoBaseHeaderFB value) Unsafe version of | |
| next | back to summary |
|---|---|
| public long next()
| |
| next | back to summary |
|---|---|
| public XrSpaceQueryInfoFB next(long value) Sets the specified value to the | |
| nfilter | back to summary |
|---|---|
| public static XrSpaceFilterInfoBaseHeaderFB nfilter(long struct) Unsafe version of
| |
| nfilter | back to summary |
|---|---|
| public static void nfilter(long struct, XrSpaceFilterInfoBaseHeaderFB value) Unsafe version of | |
| nmaxResultCount | back to summary |
|---|---|
| public static int nmaxResultCount(long struct) Unsafe version of | |
| nmaxResultCount | back to summary |
|---|---|
| public static void nmaxResultCount(long struct, int value) Unsafe version of | |
| nnext | back to summary |
|---|---|
| public static long nnext(long struct) Unsafe version of | |
| nnext | back to summary |
|---|---|
| public static void nnext(long struct, long value) Unsafe version of | |
| nqueryAction | back to summary |
|---|---|
| public static int nqueryAction(long struct) Unsafe version of | |
| nqueryAction | back to summary |
|---|---|
| public static void nqueryAction(long struct, int value) Unsafe version of | |
| ntimeout | back to summary |
|---|---|
| public static long ntimeout(long struct) Unsafe version of | |
| ntimeout | back to summary |
|---|---|
| public static void ntimeout(long struct, long value) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static int ntype(long struct) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static void ntype(long struct, int value) Unsafe version of | |
| queryAction | back to summary |
|---|---|
| public int queryAction() the type of query to perform.
| |
| queryAction | back to summary |
|---|---|
| public XrSpaceQueryInfoFB queryAction(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public XrSpaceQueryInfoFB set(int type, long next, int queryAction, int maxResultCount, long timeout, XrSpaceFilterInfoBaseHeaderFB filter, XrSpaceFilterInfoBaseHeaderFB excludeFilter) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrSpaceQueryInfoFB set(XrSpaceQueryInfoFB src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| timeout | back to summary |
|---|---|
| public long timeout() the number of nanoseconds before the operation should time out. A value of
| |
| timeout | back to summary |
|---|---|
| public XrSpaceQueryInfoFB timeout(long value) Sets the specified value to the | |
| type | back to summary |
|---|---|
| public int type() the
| |
| type | back to summary |
|---|---|
| public XrSpaceQueryInfoFB type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrSpaceQueryInfoFB type$Default() Sets the | |
XrSpaceQueryInfoFB structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrSpaceQueryInfoFB |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrSpaceQueryInfoFB 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) | |
| excludeFilter | back to summary |
|---|---|
public XrSpaceFilterInfoBaseHeaderFB excludeFilter()
| |
| excludeFilter | back to summary |
|---|---|
| public XrSpaceQueryInfoFB. Sets the address of the specified | |
| filter | back to summary |
|---|---|
public XrSpaceFilterInfoBaseHeaderFB filter()
| |
| filter | back to summary |
|---|---|
| public XrSpaceQueryInfoFB. Sets the address of the specified | |
| getElementFactory | back to summary |
|---|---|
| protected XrSpaceQueryInfoFB getElementFactory() Implements abstract org.
| |
| maxResultCount | back to summary |
|---|---|
public int maxResultCount()
| |
| maxResultCount | back to summary |
|---|---|
| public XrSpaceQueryInfoFB. Sets the specified value to the | |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrSpaceQueryInfoFB. Sets the specified value to the | |
| queryAction | back to summary |
|---|---|
public int queryAction()
| |
| queryAction | back to summary |
|---|---|
| public XrSpaceQueryInfoFB. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrSpaceQueryInfoFB. Implements abstract org.
| |
| timeout | back to summary |
|---|---|
public long timeout()
| |
| timeout | back to summary |
|---|---|
| public XrSpaceQueryInfoFB. Sets the specified value to the | |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrSpaceQueryInfoFB. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrSpaceQueryInfoFB. Sets the | |