Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

Commit

Permalink
Merged PR 775: Use ToggleARCapture function to enable spatial mapping.
Browse files Browse the repository at this point in the history
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
Lukas Tönne committed May 25, 2021
1 parent dcacdf6 commit 862324f
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 862324f

Please sign in to comment.