This repository has been archived by the owner on Feb 1, 2025. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 775: Use ToggleARCapture function to enable spatial mapping.
Use ToggleARCapture function to enable spatial mapping. OpenXR uses the ToggleARCapture function to switch on spatial mapping rather than swapping the AR config and restarting the AR session. Calling this function may need to be repeated due to delayed system init. The MRGameMode currently does both, the ARConfig swap should be removed eventually. Maps that require spatial mapping (SurfaceMagnetism and TapToPlace) use a MRGameMode subclass where the bEnableSpatialMapping flag is changed in the construction script. Related work items: #1075
- Loading branch information