<html>
<head>
<link
href="https://unpkg.com/@byondrnd/byondxr-web-visualizer-ui@{version}/build/index.css"
rel="stylesheet"
/>
</head>
<body>
<div
class="visualizer"
data-role="visualizer"
experienceId="<your experience id, optional if using hashExperienceId>"
hashExperienceId="<your hashed experience id, optional if using experienceId>"
sceneConfigurationLabel="<optional, the maximum width image size to use on mobile, a number from 0 to 2048>"
sceneId="<optional, will lunch a scene by scene id>"
defaultProduct="<optional, product sku, will display the product on all available supported application>"
defaultProducts="<optional, a stringified key vale pair, key: application, value: product sku, will present those as defaults >"
maxFaceSize="<optional, the maximum width image size to use, a number from 0 to 2048>"
maxFaceSizeMobile="<optional, the maximum width image size to use on mobile, a number from 0 to 2048>"
>
</div>
const containerElement = document.querySelector('[data-role="visualizer"]');
containerElement.addEventListener('visualizerLoaded', (event)=>{
const visualizer = event.detail.visualizer;
});
</div>
<script src="https://unpkg.com/@byondrnd/byondxr-web-visualizer@0.2.72/dist/index.js"></script>
<script src="https://unpkg.com/@byondrnd/byondxr-web-visualizer-ui@{version}/build/index.js"></script>
</body>
</html>
https://unpkg.com/@byondrnd/byondxr-web-visualizer@0.2.72/doc/index.html
https://www.npmjs.com/package/@byondrnd/byondxr-web-visualizer-ui
Generated using TypeDoc