-
Notifications
You must be signed in to change notification settings - Fork 0
/
snippet.txt
20 lines (20 loc) · 1.34 KB
/
snippet.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<model-viewer src="ribbon2.gltf" ar ar-modes="webxr scene-viewer quick-look" camera-controls poster="poster.webp" shadow-intensity="1">
<button class="Hotspot" slot="hotspot-2" data-position="-0.0648571136472107m -0.4001517241282233m -0.10783291372716342m" data-normal="-0.9505875525657722m 0.26716410932145507m 0.15813489051278068m" data-visibility-attribute="visible">
<div class="HotspotAnnotation">Test 1
</div>
</button><button class="Hotspot" slot="hotspot-3" data-position="-0.24343908195373132m 0.870587848060504m 0.1326700502678051m" data-normal="0.8295458445041825m 0.5547126455649865m -0.06440165150162515m" data-visibility-attribute="visible">
<div class="HotspotAnnotation">test2
</div>
</button><button class="Hotspot" slot="hotspot-4" data-position="0.0796767531467566m 0.20476748670819767m 0.1679345552427325m" data-normal="0.5703813221219535m -0.49949404096369715m -0.6520512636412636m" data-visibility-attribute="visible">
<div class="HotspotAnnotation">center</div>
</button>
<div class="progress-bar hide" slot="progress-bar">
<div class="update-bar"></div>
</div>
<button slot="ar-button" id="ar-button">
View in your space
</button>
<div id="ar-prompt">
<img src="https://modelviewer.dev/shared-assets/icons/hand.png">
</div>
</model-viewer>