WebXR AR Raycasting Shapes
Raycast against PlayCanvas meshes during an AR session so taps on virtual shapes work alongside the passthrough camera view.
Raycast against PlayCanvas meshes during an AR session so taps on virtual shapes work alongside the passthrough camera view.
Combine WebXR AR with the DOM overlay API to place styled HTML/CSS UI above the camera feed without custom WebGL text.
Cast rays into real-world geometry with the WebXR hit-test API to anchor virtual objects on detected floors and tables.
Point WebXR laser pointers or gaze at screen-space UI and handle clicks across desktop, mobile, and headset browsers.
Track printed reference images in AR and align 3D content to their pose using the WebXR image-tracking extension.
Subscribe to WebXR plane detection updates to visualize floor and table estimates for anchoring content to real surfaces.