是否可以访问 SpatialSurfaceMesh 的空间图节点 ID?

Is it possible to access spatial graph node id of SpatialSurfaceMesh?

Microsoft.MixedReality.QR API provides spatial graph node id for detected QR codes. I need to access spatial graph node id of Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh class (to use with OpenXR XR_MSFT_spatial_graph_bridge 分机)。可能吗?

我试过使用 SurfaceMesh.SurfaceInfo.Id 属性。但似乎这不是 OpenXR 正在寻找的 ID。

实际上,SpatialSurfaceMesh并没有像QR码或SceneUnderstanding那样暴露其底层空间图节点,很难使用SpatialSrfaceMeshSpatialCoordinateSystem OpenXR 桥扩展。在这种情况下,SceneUnderstanding 网格应该更好地用于除遮挡之外的所有目的。因此,建议您将 SpatialSurfaceMesh 替换为 SceneUnderstanding 以启用 OpenXR 桥扩展。

另外,该功能的示例已经安排到我们的开发计划中,请关注我们的文档。