How to add Augmented Reality capabilities to your app?
var xr = await scene.createDefaultXRExperienceAsync({
uiOptions: {
sessionMode: "immersive-ar",
referenceSpaceType: "local-floor"
},
optionalFeatures: true
});
WebXR Chrome Dev Tools Testing
PreviousHow to test your WebXR app on an Android phone or Google Cardboard?NextHow to setup a BabylonJS local development environment and project?
Last updated
Was this helpful?