XR Toggle
This template demonstrates how to use the XRTransition component to smoothly switch between the default AR (passthrough) background and a fully immersive VR background. With a simple action, you can toggle between AR/VR modes and change the cylinder's and VR background color.
On Desktop: Click
In XR: Pinch
main.js