<html>
<head>
<link
href="https://unpkg.com/@byondrnd/byondxr-web-visualizer-ui@0.1.91/build/index.css"
rel="stylesheet"
/>
</head>
<body>
<div class="visualizer" data-role="visualizer" experienceId="<your experience id here>"></div>
<script src="https://unpkg.com/@byondrnd/byondxr-web-visualizer@0.1.112/dist/index.js"></script>
<script src="https://unpkg.com/@byondrnd/byondxr-web-visualizer-ui@0.1.91/build/index.js"></script>
</body>
</html>
to override a css rules add a css file like in the example HERE
pass a stringified object as an attribute into the base div element
<html>
<head>
<link
href="https://unpkg.com/@byondrnd/byondxr-web-visualizer-ui@0.1.91/build/index.css"
rel="stylesheet"
/>
</head>
<body>
<div
class="visualizer"
data-role="visualizer"
experienceId="<your experience id here>"
constants='{"menu":{"hotspots":{"label":"Hotspots"}}}'
></div>
<script src="https://unpkg.com/@byondrnd/byondxr-web-visualizer@0.1.112/dist/index.js"></script>
<script src="https://unpkg.com/@byondrnd/byondxr-web-visualizer-ui@0.1.91/build/index.js"></script>
</body>
</html>
Generated using TypeDoc