This extension enables creation and management of user objects which can be used by the application to reference a user other than the current user.
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_USER_EXTENSION_NAME
The extension name. |
| public static final int | XR_FB_spatial_entity_user_SPEC_VERSION
The extension specification version. |
| public static final int | XR_OBJECT_TYPE_SPACE_USER_FB
Extends |
| public static final int | XR_TYPE_SPACE_USER_CREATE_INFO_FB
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static int | |
| public static int | xrCreateSpaceUserFB(XrSession
a handle to an session, XrSpaceUserCreateInfoFB XrSession.a pointer to an info, PointerBuffer XrSpaceUserCreateInfoFB structure containing information to create the user handle.the output parameter that points to the handle of the user being created. user)Creates a user other than the current user. |
| public static int | xrDestroySpaceUserFB(XrSpaceUserFB
a handle to the user object to be destroyed. user)Destroys a user handle. |
| public static int | xrGetSpaceUserIdFB(XrSpaceUserFB
a handle to an user, LongBuffer XrSpaceUserFB.the output parameter that points to the user ID of the user. userId)Gets the user ID for a given user handle. |
| XR_FB_SPATIAL_ENTITY_USER_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_FB_SPATIAL_ENTITY_USER_EXTENSION_NAME The extension name. | |
| XR_FB_spatial_entity_user_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_FB_spatial_entity_user_SPEC_VERSION The extension specification version. | |
| XR_OBJECT_TYPE_SPACE_USER_FB | back to summary |
|---|---|
| public static final int XR_OBJECT_TYPE_SPACE_USER_FB Extends | |
| XR_TYPE_SPACE_USER_CREATE_INFO_FB | back to summary |
|---|---|
| public static final int XR_TYPE_SPACE_USER_CREATE_INFO_FB Extends | |
| FBSpatialEntityUser | back to summary |
|---|---|
| protected FBSpatialEntityUser() | |
| nxrCreateSpaceUserFB | back to summary |
|---|---|
| public static int nxrCreateSpaceUserFB(XrSession session, long info, long user) Unsafe version of: | |
| nxrGetSpaceUserIdFB | back to summary |
|---|---|
| public static int nxrGetSpaceUserIdFB(XrSpaceUserFB user, long userId) Unsafe version of: | |
| xrCreateSpaceUserFB | back to summary |
|---|---|
| public static int xrCreateSpaceUserFB(XrSession session, XrSpaceUserCreateInfoFB info, PointerBuffer user) Creates a user other than the current user. C SpecificationThe
DescriptionThe application can use this function to create a user handle with which it can then interact, such as sharing Valid Usage (Implicit)
Return Codes
See Also
| |
| xrDestroySpaceUserFB | back to summary |
|---|---|
| public static int xrDestroySpaceUserFB(XrSpaceUserFB user) Destroys a user handle. C SpecificationThe
DescriptionThe application should use this function to release resources tied to a given Valid Usage (Implicit)
Thread Safety
Return Codes
| |
| xrGetSpaceUserIdFB | back to summary |
|---|---|
| public static int xrGetSpaceUserIdFB(XrSpaceUserFB user, LongBuffer userId) Gets the user ID for a given user handle. C SpecificationThe
DescriptionThe application can use this function to retrieve the user ID of a given user handle. Valid Usage (Implicit)
Return Codes
| |