Comment on page
Using the Package
Getting started with the echo3D NPM package.
Our NPM package allows you to add 3D models to your website.
This component can be configured with an
entryIDto stream and display models from the echo3D platform as well as a direct
srcURL to display local or cloud files. Common
<model-viewer/>configuration parameters are also exposed.
You must provide
src: Element will make no query and pass this URL directly to
entryID: The entry ID of the hologram you would like to display
className: The CSS classes that will be applied to the element. If no classes are provided, the component will default to a 600px height viewer.
securityKey: provide your security key if it is enabled for your project
disableZoom: When defined, disables zoom (camera controls must be enabled)
cameraOrbit: The starting focal point of the viewer
cameraControls: When defined, camera controls for the viewer are disabled
autoRotate: When defined, automatic rotation of the model is disabled
tapToCenter: When defined, tap-to-recenter behavior is enabled