<a-scene>
<a-entity gltf-model="url(https://cdn.rawgit.com/KhronosGroup/glTF-Sample-Models/9176d098/1.0/Duck/glTF/Duck.gltf)" position="0 0 -5"></a-entity>
</a-scene>
<a-scene>
<a-assets>
<a-asset-item id="duck" src="https://cdn.rawgit.com/KhronosGroup/glTF-Sample-Models/9176d098/1.0/Duck/glTF/Duck.gltf"></a-asset-item>
</a-assets>
<a-entity gltf-model="#duck" position="0 0 -5"></a-entity>
</a-scene>
<a-entity gltf-model="url(https://cdn.rawgit.com/KhronosGroup/glTF-Sample-Models/9176d098/1.0/Duck/glTF/Duck.gltf)"></a-entity>
<a-entity gltf-model="#duck"></a-entity>
Parameter | Details |
---|---|
url(...) | will load the glTF model wrapped from the URL wrapped in url() |
#example | will load the <a-asset-item> with the ID example |