Windows Device Portal Spatial Reconstruction
I have been experimenting with WorldAnchors and noticed that that the HoloLens occasionally misplaces the WorldAnchors. Selecting the "Update" button in the Windows Device Portal -> 3D View -> Spatial Mapping section fixes this issue and places the WorldAnchors accurately. However, according to Microsoft documentation, all this button does is fetch the latest spatial mapping mesh to display in the 3D View. I believe a refreshing of the spatial mapping is done under the hood. Is there a way to replicate this function in code?