<a-obj-model>
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
We recommend glTF for distributing assets in production over the web. Check out using the glTF model primitive. You can either instead export to COLLADA and use the converter or try out the OBJ converter.
The .OBJ model primitive displays a 3D Wavefront model.
Example
<a-scene> |
Attribute
Attribute | Component Mapping | Default Value |
---|---|---|
mtl | obj-model.mtl | null |
src | obj-model.obj | null |