How to get a WebXR session in Edge/Chrome on SteamVR device?

前端 未结 0 1115
无人及你
无人及你 2021-01-02 05:48

Here is a simple code example I\'ve tried:

if (\'xr\' in navigator) 
{    
    navigator.xr.isSessionSupported("immersive-vr").then(hasVR => 
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题