Reply To: view 3D and AR with model-viewer

Welcome! Forums Unity Plugins In-App Web Browser view 3D and AR with model-viewer Reply To: view 3D and AR with model-viewer

#1806
FabioTG
Participant

Hi!

I load these scripts:
<script type=”module” src=”https://unpkg.com/@google/model-viewer/dist/model-viewer.js”></script&gt;
<script nomodule src=”https://unpkg.com/@google/model-viewer/dist/model-viewer-legacy.js”></script&gt;

and this code:
<model-viewer ar preload camera-controls auto-rotate poster=”assets/poster-shishkebab.png” src=”https://www.olo.promo/webAR/assets/tamp.glb&#8221; ios-src=”apple-watch-series-5.usdz” alt=”A 3D model of an astronaut.”></model-viewer>