This extension enables spatial entities to be shared between users. If the SPACE_COMPONENT_TYPE_SHARABLE_FB component has been enabled on the spatial entity, application developers may share XrSpace entities between users.
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 int | XR_ERROR_SPACE_CLOUD_STORAGE_DISABLED_FB
Extends |
| public static final int | XR_ERROR_SPACE_LOCALIZATION_FAILED_FB
Extends |
| public static final int | XR_ERROR_SPACE_MAPPING_INSUFFICIENT_FB
Extends |
| public static final int | XR_ERROR_SPACE_NETWORK_REQUEST_FAILED_FB
Extends |
| public static final int | XR_ERROR_SPACE_NETWORK_TIMEOUT_FB
Extends |
| public static final String | XR_FB_SPATIAL_ENTITY_SHARING_EXTENSION_NAME
The extension name. |
| public static final int | XR_FB_spatial_entity_sharing_SPEC_VERSION
The extension specification version. |
| public static final int | XR_TYPE_EVENT_DATA_SPACE_SHARE_COMPLETE_FB
Extends |
| public static final int | XR_TYPE_SPACE_SHARE_INFO_FB
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static int | xrShareSpacesFB(XrSession
a handle to an session, XrSpaceShareInfoFB XrSession.a pointer to an info, LongBuffer XrSpaceShareInfoFB structure containing information about which spatial entities to share with which users.the output parameter that points to the ID of this asynchronous request. requestId)Shares spatial entities with specified users. |
| XR_ERROR_SPACE_CLOUD_STORAGE_DISABLED_FB | back to summary |
|---|---|
| public static final int XR_ERROR_SPACE_CLOUD_STORAGE_DISABLED_FB Extends Enum values: | |
| XR_ERROR_SPACE_LOCALIZATION_FAILED_FB | back to summary |
|---|---|
| public static final int XR_ERROR_SPACE_LOCALIZATION_FAILED_FB Extends Enum values: | |
| XR_ERROR_SPACE_MAPPING_INSUFFICIENT_FB | back to summary |
|---|---|
| public static final int XR_ERROR_SPACE_MAPPING_INSUFFICIENT_FB Extends Enum values: | |
| XR_ERROR_SPACE_NETWORK_REQUEST_FAILED_FB | back to summary |
|---|---|
| public static final int XR_ERROR_SPACE_NETWORK_REQUEST_FAILED_FB Extends Enum values: | |
| XR_ERROR_SPACE_NETWORK_TIMEOUT_FB | back to summary |
|---|---|
| public static final int XR_ERROR_SPACE_NETWORK_TIMEOUT_FB Extends Enum values: | |
| XR_FB_SPATIAL_ENTITY_SHARING_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_FB_SPATIAL_ENTITY_SHARING_EXTENSION_NAME The extension name. | |
| XR_FB_spatial_entity_sharing_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_FB_spatial_entity_sharing_SPEC_VERSION The extension specification version. | |
| XR_TYPE_EVENT_DATA_SPACE_SHARE_COMPLETE_FB | back to summary |
|---|---|
| public static final int XR_TYPE_EVENT_DATA_SPACE_SHARE_COMPLETE_FB Extends Enum values: | |
| XR_TYPE_SPACE_SHARE_INFO_FB | back to summary |
|---|---|
| public static final int XR_TYPE_SPACE_SHARE_INFO_FB Extends Enum values: | |
| FBSpatialEntitySharing | back to summary |
|---|---|
| protected FBSpatialEntitySharing() | |
| nxrShareSpacesFB | back to summary |
|---|---|
| public static int nxrShareSpacesFB(XrSession session, long info, long requestId) Unsafe version of: | |
| xrShareSpacesFB | back to summary |
|---|---|
| public static int xrShareSpacesFB(XrSession session, XrSpaceShareInfoFB info, LongBuffer requestId) Shares spatial entities with specified users. C SpecificationThe
DescriptionThis operation is asynchronous and the runtime must post an Valid Usage (Implicit)
Return Codes
See Also
| |