NOTE: This version of the documentation tracks unstable development happening on A-Frame’s master branch. If you wish to try it out, grab the unstable build. Otherwise, head to the documentation for the current 1.6.0 version

The glTF model primitive displays a 3D glTF model created from a 3D modeling program or downloaded from the web.


<a-asset-item id="tree" src="tree.gltf"></a-asset-item>

<!-- Using the asset management system. -->
<a-gltf-model src="#tree"></a-gltf-model>

<!-- Defining the URL inline. Not recommended but more comfortable for web developers. -->
<a-gltf-model src="tree.gltf"></a-gltf-model>


Attribute Component Mapping Default Value
src gltf-model.src null