Converts a Windows Mirage spatial node GUID into a Pose based on its current position and rotation! Check SK.System.spatialBridgePresent to see if this is available to use. Currently only on HoloLens, good for use with the Windows QR code package. A Windows Mirage spatial node GUID acquired from a windows MR API call. <param name="spatialNod
(Guid spatialNodeGuid, SpatialNodeType spatialNodeType = SpatialNodeType.Static, long qpcTime = 0)
| 116 | /// <returns>A Pose representing the current orientation of the |
| 117 | /// spatial node.</returns> |
| 118 | public static Pose FromSpatialNode(Guid spatialNodeGuid, SpatialNodeType spatialNodeType = SpatialNodeType.Static, long qpcTime = 0) |
| 119 | => NativeAPI.world_from_spatial_graph(spatialNodeGuid.ToByteArray(), spatialNodeType == SpatialNodeType.Dynamic, qpcTime); |
| 120 | |
| 121 | /// <summary>Converts a Windows Mirage spatial node GUID into a Pose |
| 122 | /// based on its current position and rotation! Check |
no test coverage detected