This extension enables an application to discover persistent spatial entities in the area and restore them. Using the query system, the application can load persistent spatial entities from storage. The query system consists of a set of filters to define the spatial entity search query and an operation that needs to be performed on the search results.
In order to enable the functionality of this extension, you must pass the name of the extension into CreateInstance via the XrInstanceCreateInfo::enabledExtensionNames parameter as indicated in the extensions section.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | XR_FB_SPATIAL_ENTITY_QUERY_EXTENSION_NAME
The extension name. |
| public static final int | XR_FB_spatial_entity_query_SPEC_VERSION
The extension specification version. |
| public static final int | XR_SPACE_QUERY_ACTION_LOAD_FB
XrSpaceQueryActionFB - Type of query being performed Description Specify the type of query being performed. |
| public static final int | XR_SPACE_STORAGE_LOCATION_CLOUD_FB
XrSpaceStorageLocationFB - Storage location to persist spatial entities Description The |
| public static final int | XR_SPACE_STORAGE_LOCATION_INVALID_FB
XrSpaceStorageLocationFB - Storage location to persist spatial entities Description The |
| public static final int | XR_SPACE_STORAGE_LOCATION_LOCAL_FB
XrSpaceStorageLocationFB - Storage location to persist spatial entities Description The |
| public static final int | XR_TYPE_EVENT_DATA_SPACE_QUERY_COMPLETE_FB
Extends |
| public static final int | XR_TYPE_EVENT_DATA_SPACE_QUERY_RESULTS_AVAILABLE_FB
Extends |
| public static final int | XR_TYPE_SPACE_COMPONENT_FILTER_INFO_FB
Extends |
| public static final int | XR_TYPE_SPACE_QUERY_INFO_FB
Extends |
| public static final int | XR_TYPE_SPACE_QUERY_RESULTS_FB
Extends |
| public static final int | XR_TYPE_SPACE_STORAGE_LOCATION_FILTER_INFO_FB
Extends |
| public static final int | XR_TYPE_SPACE_UUID_FILTER_INFO_FB
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static int | nxrRetrieveSpaceQueryResultsFB(XrSession session, long requestId, long results)
Unsafe version of: |
| public static int | xrQuerySpacesFB(XrSession
a handle to an session, XrSpaceQueryInfoBaseHeaderFB XrSession.a pointer to the info, LongBuffer XrSpaceQueryInfoBaseHeaderFB structure.an output parameter, and the variable it points to will be populated with the ID of this asynchronous request. requestId)Queries for spatial entities. |
| public static int | xrRetrieveSpaceQueryResultsFB(XrSession
the session, long XrSession for which the in-progress query is valid.the requestId, XrSpaceQueryResultsFB XrAsyncRequestIdFB to enumerate results for.a pointer to an results)XrSpaceQueryResultsFB to populate with results.Copies query results into an output buffer. |
| XR_FB_SPATIAL_ENTITY_QUERY_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_FB_SPATIAL_ENTITY_QUERY_EXTENSION_NAME The extension name. | |
| XR_FB_spatial_entity_query_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_FB_spatial_entity_query_SPEC_VERSION The extension specification version. | |
| XR_SPACE_QUERY_ACTION_LOAD_FB | back to summary |
|---|---|
| public static final int XR_SPACE_QUERY_ACTION_LOAD_FB XrSpaceQueryActionFB - Type of query being performed DescriptionSpecify the type of query being performed. Enumerant Descriptions
See Also | |
| XR_SPACE_STORAGE_LOCATION_CLOUD_FB | back to summary |
|---|---|
| public static final int XR_SPACE_STORAGE_LOCATION_CLOUD_FB XrSpaceStorageLocationFB - Storage location to persist spatial entities DescriptionThe Enumerant Descriptions
See Also
| |
| XR_SPACE_STORAGE_LOCATION_INVALID_FB | back to summary |
|---|---|
| public static final int XR_SPACE_STORAGE_LOCATION_INVALID_FB XrSpaceStorageLocationFB - Storage location to persist spatial entities DescriptionThe Enumerant Descriptions
See Also
| |
| XR_SPACE_STORAGE_LOCATION_LOCAL_FB | back to summary |
|---|---|
| public static final int XR_SPACE_STORAGE_LOCATION_LOCAL_FB XrSpaceStorageLocationFB - Storage location to persist spatial entities DescriptionThe Enumerant Descriptions
See Also
| |
| XR_TYPE_EVENT_DATA_SPACE_QUERY_COMPLETE_FB | back to summary |
|---|---|
| public static final int XR_TYPE_EVENT_DATA_SPACE_QUERY_COMPLETE_FB Extends Enum values: | |
| XR_TYPE_EVENT_DATA_SPACE_QUERY_RESULTS_AVAILABLE_FB | back to summary |
|---|---|
| public static final int XR_TYPE_EVENT_DATA_SPACE_QUERY_RESULTS_AVAILABLE_FB Extends Enum values: | |
| XR_TYPE_SPACE_COMPONENT_FILTER_INFO_FB | back to summary |
|---|---|
| public static final int XR_TYPE_SPACE_COMPONENT_FILTER_INFO_FB Extends Enum values: | |
| XR_TYPE_SPACE_QUERY_INFO_FB | back to summary |
|---|---|
| public static final int XR_TYPE_SPACE_QUERY_INFO_FB Extends Enum values: | |
| XR_TYPE_SPACE_QUERY_RESULTS_FB | back to summary |
|---|---|
| public static final int XR_TYPE_SPACE_QUERY_RESULTS_FB Extends Enum values: | |
| XR_TYPE_SPACE_STORAGE_LOCATION_FILTER_INFO_FB | back to summary |
|---|---|
| public static final int XR_TYPE_SPACE_STORAGE_LOCATION_FILTER_INFO_FB Extends Enum values: | |
| XR_TYPE_SPACE_UUID_FILTER_INFO_FB | back to summary |
|---|---|
| public static final int XR_TYPE_SPACE_UUID_FILTER_INFO_FB Extends Enum values: | |
| FBSpatialEntityQuery | back to summary |
|---|---|
| protected FBSpatialEntityQuery() | |
| nxrQuerySpacesFB | back to summary |
|---|---|
| public static int nxrQuerySpacesFB(XrSession session, long info, long requestId) Unsafe version of: | |
| nxrRetrieveSpaceQueryResultsFB | back to summary |
|---|---|
| public static int nxrRetrieveSpaceQueryResultsFB(XrSession session, long requestId, long results) Unsafe version of: | |
| xrQuerySpacesFB | back to summary |
|---|---|
| public static int xrQuerySpacesFB(XrSession session, XrSpaceQueryInfoBaseHeaderFB info, LongBuffer requestId) Queries for spatial entities. C SpecificationThe
DescriptionThe Valid Usage (Implicit)
Return Codes
See Also
| |
| xrRetrieveSpaceQueryResultsFB | back to summary |
|---|---|
| public static int xrRetrieveSpaceQueryResultsFB(XrSession session, long requestId, XrSpaceQueryResultsFB results) Copies query results into an output buffer. C SpecificationThe
DescriptionAllows an application to retrieve all available results for a specified query. Call this function once to get the number of results found and then once more to copy the results into a buffer provided by the application. The number of results will not change between the two calls used to retrieve results. This function must only retrieve each query result once. After the application has used this function to retrieve a query result, the runtime frees its copy. The runtime must return Valid Usage (Implicit)
Return Codes
See Also
| |