DOM elements in WebXR VR


I would like to know if it is possible to show DOM elements in VR mode (WebXR VR). I have been trying a photodome project with some hotspots. On clicking on hotspot, contents of DOM will appear. something like this

It works good in normal view but when switching to VR in Oculus Quest the dom elements are not appearing. Any help or suggestions is appreciated.

1 Like

Nope it is unfortunately not possible but you could use babylon GUI instead.


Thanks for such a quick reply. Yes, It was my other option to go for. Thanks again

1 Like

1 yes, 2 no’s. There is something called Xr layers. It is not part of the framework to-date, so you will have to reference it yourself. I also think using Vr through Xr is likely to cause issues.

1 Like