How to add Virtual Reality capabilities to your app?
const env = scene.createDefaultEnvironment();
const xr = await scene.createDefaultXRExperienceAsync({
floorMeshes: [env.ground]
});PreviousHow to add WebXR support?NextHow to test your WebXR app on an Android phone or Google Cardboard?
Last updated
Was this helpful?
