this seems to be working for me but its not a great solution
const cameraVR = renderer.xr.getCamera();
const isAR = (cameraVR.cameras.length == 0);
console.log('isAR: ' + isAR );
is there a better way?
this seems to be working for me but its not a great solution
const cameraVR = renderer.xr.getCamera();
const isAR = (cameraVR.cameras.length == 0);
console.log('isAR: ' + isAR );
is there a better way?