For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to add Augmented Reality capabilities to your app?

   var xr = await scene.createDefaultXRExperienceAsync({
        uiOptions: {
            sessionMode: "immersive-ar",
            referenceSpaceType: "local-floor"
        },
        optionalFeatures: true
    });
BabylonJS Augmented Reality Example

WebXR Chrome Dev Tools Testing

Last updated

Was this helpful?