These puzzles are used to enable web-based Augmented Reality (AR) and Virtual Reality (VR) experiences running on top of the in-development browser technology called WebXR (eXtended Reality on the Web).
These puzzles are considered experimental as WebXR is undergoing rapid development, with browser preview builds changing on daily basis. At the moment the AR puzzles are disabled until the specification is stabilized. In order to use the VR puzzles, we recommend to turn on the Legacy VR checkbox when creating a new project.
Initializes the virtual reality system. If successful, the puzzles in the "if available do" are triggered. Otherwise, if the browser does not support VR or VR hardware not found, the puzzles in the "if unavailable do" slot are triggered.
For more information with regard to supported VR devices and best practices see the User Manual.
Enters the virtual reality mode. Puzzles placed in the "on enter do" and "on exit do" slots are triggered upon entering or exiting the VR mode. Puzzles placed in the "if unavailable do" are triggered if a VR session could not be established.
Execute callback upon VR session event.