Skip to main content

UI

This template showcases a user interface (UI) panel that you can move around in 3D space.

On Desktop: Click and drag the panel's border to reposition it.
In XR: Pinch and drag the panel's border to reposition it.
Key Component: This functionality is powered by xb.SpatialPanel and managed by UIManager.js.

main.js

UIManager.js