π
π
π
π
Azure Mixed Reality Docs
Searchβ¦
Azure Mixed Reality Curriculum
What is the Metaverse?
Unity Lessons
WebXR Lessons
3D on the Web
WebXR Device APIs
Concepts
What are WebXR Device APIs?
Which Devices are Compatible with WebXR?
Which Browsers support WebXR?
What is the Lifecycle of a WebXR Application?
What is XRReferenceSpaceType?
Project
Resources
What could go wrong?
A-Frame
Three.js
Babylon.js
WebXR Meetups
Resources
Unreal Engine Lessons
Artificial Intelligence(AI) Lessons
Exercises
FAQ
Glossary
How to contribute?
Powered By
GitBook
What is the Lifecycle of a WebXR Application?
The basic steps most WebXR applications will go through are:
1.
Query
to see if the desired XR mode is supported.
2.
If support is available,
advertise XR functionality
to the user.
3.
A
user-activation event
indicates that the user wishes to use XR.
4.
Request an immersive session
from the device
5.
Use the session to
run a render loop
that produces graphical frames to be displayed on the XR device.
6.
Continue
producing frames
until the user indicates that they wish to exit XR mode.
7.
End the XR session
.
Previous
Which Browsers support WebXR?
Next
What is XRReferenceSpaceType?
Last modified
1yr ago
Export as PDF
Copy link