aframe gltf-model (component)

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9

Introduction

The gltf-model component allows to use 3D models in the glTF format with A-Frame. glTF is a Khronos standard for efficient, full-scene 3D models and is optimised for usage on the web.

Syntax

  • <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>

Parameters

ParameterDetails
url(...)will load the glTF model wrapped from the URL wrapped in url()
#examplewill load the <a-asset-item> with the ID example


Got any aframe Question?