This extension enables applications to interop between XrSpace handles and other Windows Mixed Reality device platform libraries or APIs. These libraries represent a spatially tracked point, also known as a "spatial graph node", with a GUID value. This extension enables applications to create XrSpace handles from spatial graph nodes. Applications can also try to get a spatial graph node from an XrSpace handle.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | XR_GUID_SIZE_MSFT
XR_GUID_SIZE_MSFT |
| public static final String | XR_MSFT_SPATIAL_GRAPH_BRIDGE_EXTENSION_NAME
The extension name. |
| public static final int | XR_MSFT_spatial_graph_bridge_SPEC_VERSION
The extension specification version. |
| public static final int | XR_OBJECT_TYPE_SPATIAL_GRAPH_NODE_BINDING_MSFT
Extends |
| public static final int | XR_SPATIAL_GRAPH_NODE_TYPE_DYNAMIC_MSFT
XrSpatialGraphNodeTypeMSFT - The type of spatial graph node. |
| public static final int | XR_SPATIAL_GRAPH_NODE_TYPE_STATIC_MSFT
XrSpatialGraphNodeTypeMSFT - The type of spatial graph node. |
| public static final int | XR_TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_GET_INFO_MSFT
Extends |
| public static final int | XR_TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_MSFT
Extends |
| public static final int | XR_TYPE_SPATIAL_GRAPH_NODE_SPACE_CREATE_INFO_MSFT
Extends |
| public static final int | XR_TYPE_SPATIAL_GRAPH_STATIC_NODE_BINDING_CREATE_INFO_MSFT
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nxrCreateSpatialGraphNodeSpaceMSFT(XrSession session, long createInfo, long space)
Unsafe version of: |
| public static int | nxrGetSpatialGraphNodeBindingPropertiesMSFT(XrSpatialGraphNodeBindingMSFT nodeBinding, long getInfo, long properties)
Unsafe version of: |
| public static int | nxrTryCreateSpatialGraphStaticNodeBindingMSFT(XrSession session, long createInfo, long nodeBinding)
Unsafe version of: |
| public static int | xrCreateSpatialGraphNodeSpaceMSFT(XrSession
the session, XrSpatialGraphNodeSpaceCreateInfoMSFT XrSession which will use the created space.an createInfo, PointerBuffer XrSpatialGraphNodeSpaceCreateInfoMSFT specifying the space to be created.the returned space)XrSpace handle for the given spatial node ID.Create an |
| public static int | xrDestroySpatialGraphNodeBindingMSFT(XrSpatialGraphNodeBindingMSFT
an nodeBinding)XrSpatialGraphNodeBindingMSFT previously created by TryCreateSpatialGraphStaticNodeBindingMSFT.Destroy a spatial graph node handle. |
| public static int | xrGetSpatialGraphNodeBindingPropertiesMSFT(XrSpatialGraphNodeBindingMSFT
an nodeBinding, XrSpatialGraphNodeBindingPropertiesGetInfoMSFT XrSpatialGraphNodeBindingMSFT previously created by TryCreateSpatialGraphStaticNodeBindingMSFT.a pointer to an getInfo, XrSpatialGraphNodeBindingPropertiesMSFT XrSpatialGraphNodeBindingPropertiesGetInfoMSFT input structure.a pointer to an properties)XrSpatialGraphNodeBindingPropertiesMSFT output structure.Destroy a spatial graph node handle. |
| public static int | xrTryCreateSpatialGraphStaticNodeBindingMSFT(XrSession
the specified session, XrSpatialGraphStaticNodeBindingCreateInfoMSFT XrSession.the createInfo, PointerBuffer XrSpatialGraphStaticNodeBindingCreateInfoMSFT input structure.the nodeBinding)XrSpatialGraphNodeBindingMSFT output structure.Try create spatial graph static node binding. |
| XR_GUID_SIZE_MSFT | back to summary |
|---|---|
| public static final int XR_GUID_SIZE_MSFT XR_GUID_SIZE_MSFT | |
| XR_MSFT_SPATIAL_GRAPH_BRIDGE_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_MSFT_SPATIAL_GRAPH_BRIDGE_EXTENSION_NAME The extension name. | |
| XR_MSFT_spatial_graph_bridge_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_MSFT_spatial_graph_bridge_SPEC_VERSION The extension specification version. | |
| XR_OBJECT_TYPE_SPATIAL_GRAPH_NODE_BINDING_MSFT | back to summary |
|---|---|
| public static final int XR_OBJECT_TYPE_SPATIAL_GRAPH_NODE_BINDING_MSFT Extends | |
| XR_SPATIAL_GRAPH_NODE_TYPE_DYNAMIC_MSFT | back to summary |
|---|---|
| public static final int XR_SPATIAL_GRAPH_NODE_TYPE_DYNAMIC_MSFT XrSpatialGraphNodeTypeMSFT - The type of spatial graph node. DescriptionThere are two types of spatial graph nodes: static and dynamic. Static spatial nodes track the pose of a fixed location in the world relative to reference spaces. The tracking of static nodes may slowly adjust the pose over time for better accuracy but the pose is relatively stable in the short term, such as between rendering frames. For example, a QR code tracking library can use a static node to represent the location of the tracked QR code. Static spatial nodes are represented by Dynamic spatial nodes track the pose of a physical object that moves continuously relative to reference spaces. The pose of dynamic spatial nodes can be very different within the duration of a rendering frame. It is important for the application to use the correct timestamp to query the space location using See Also
| |
| XR_SPATIAL_GRAPH_NODE_TYPE_STATIC_MSFT | back to summary |
|---|---|
| public static final int XR_SPATIAL_GRAPH_NODE_TYPE_STATIC_MSFT XrSpatialGraphNodeTypeMSFT - The type of spatial graph node. DescriptionThere are two types of spatial graph nodes: static and dynamic. Static spatial nodes track the pose of a fixed location in the world relative to reference spaces. The tracking of static nodes may slowly adjust the pose over time for better accuracy but the pose is relatively stable in the short term, such as between rendering frames. For example, a QR code tracking library can use a static node to represent the location of the tracked QR code. Static spatial nodes are represented by Dynamic spatial nodes track the pose of a physical object that moves continuously relative to reference spaces. The pose of dynamic spatial nodes can be very different within the duration of a rendering frame. It is important for the application to use the correct timestamp to query the space location using See Also
| |
| XR_TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_GET_INFO_MSFT | back to summary |
|---|---|
| public static final int XR_TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_GET_INFO_MSFT Extends Enum values: | |
| XR_TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_MSFT | back to summary |
|---|---|
| public static final int XR_TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_MSFT Extends Enum values: | |
| XR_TYPE_SPATIAL_GRAPH_NODE_SPACE_CREATE_INFO_MSFT | back to summary |
|---|---|
| public static final int XR_TYPE_SPATIAL_GRAPH_NODE_SPACE_CREATE_INFO_MSFT Extends Enum values: | |
| XR_TYPE_SPATIAL_GRAPH_STATIC_NODE_BINDING_CREATE_INFO_MSFT | back to summary |
|---|---|
| public static final int XR_TYPE_SPATIAL_GRAPH_STATIC_NODE_BINDING_CREATE_INFO_MSFT Extends Enum values: | |
| MSFTSpatialGraphBridge | back to summary |
|---|---|
| protected MSFTSpatialGraphBridge() | |
| nxrCreateSpatialGraphNodeSpaceMSFT | back to summary |
|---|---|
| public static int nxrCreateSpatialGraphNodeSpaceMSFT(XrSession session, long createInfo, long space) Unsafe version of: | |
| nxrGetSpatialGraphNodeBindingPropertiesMSFT | back to summary |
|---|---|
| public static int nxrGetSpatialGraphNodeBindingPropertiesMSFT(XrSpatialGraphNodeBindingMSFT nodeBinding, long getInfo, long properties) Unsafe version of: | |
| nxrTryCreateSpatialGraphStaticNodeBindingMSFT | back to summary |
|---|---|
| public static int nxrTryCreateSpatialGraphStaticNodeBindingMSFT(XrSession session, long createInfo, long nodeBinding) Unsafe version of: | |
| xrCreateSpatialGraphNodeSpaceMSFT | back to summary |
|---|---|
| public static int xrCreateSpatialGraphNodeSpaceMSFT(XrSession session, XrSpatialGraphNodeSpaceCreateInfoMSFT createInfo, PointerBuffer space) Create an C SpecificationThe
Valid Usage (Implicit)
Return Codes
See Also
| |
| xrDestroySpatialGraphNodeBindingMSFT | back to summary |
|---|---|
| public static int xrDestroySpatialGraphNodeBindingMSFT(XrSpatialGraphNodeBindingMSFT nodeBinding) Destroy a spatial graph node handle. C SpecificationThe
Valid Usage (Implicit)
Thread Safety
Return Codes
See Also
| |
| xrGetSpatialGraphNodeBindingPropertiesMSFT | back to summary |
|---|---|
| public static int xrGetSpatialGraphNodeBindingPropertiesMSFT(XrSpatialGraphNodeBindingMSFT nodeBinding, XrSpatialGraphNodeBindingPropertiesGetInfoMSFT getInfo, XrSpatialGraphNodeBindingPropertiesMSFT properties) Destroy a spatial graph node handle. C SpecificationThe
Valid Usage (Implicit)
Return Codes
See Also
| |
| xrTryCreateSpatialGraphStaticNodeBindingMSFT | back to summary |
|---|---|
| public static int xrTryCreateSpatialGraphStaticNodeBindingMSFT(XrSession session, XrSpatialGraphStaticNodeBindingCreateInfoMSFT createInfo, PointerBuffer nodeBinding) Try create spatial graph static node binding. C SpecificationThe
DescriptionThe runtime may return The Valid Usage (Implicit)
Return Codes
See Also
| |