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

Create 3D Annotations in WebViewer

WebViewer supports adding, manipulating and viewing 3D annotations since version 8. Users can select a glTF/GLB File (GL Transmission Format) either locally or from a URL and the model will be displayed on the page as an interactive annotation.

Enable 3D Annotation tool

The 3D annotation button is turned off by default. To enable it, you can use the enableElements API:

const wvElement = document.getElementById('viewer');
WebViewer({ ...options }, wvElement).then(() => {
  instance.UI.enableElements([ 'threeDToolGroupButton' ]);
});

Operations

Similar to other annotation types, 3D annotations allow basic operations like moving, resizing, commenting, adding URL/Page link and deleting.

The 3D annotation also supports rotation (shift + mouse move) and zoom operations (shift + mouse wheel)

Last updated

Was this helpful?