obj-loader
Component
A-Frame A-Frame VR loader component for .OBJ models and .MTL materials.
Usage (global)
<!-- ... --> <!-- A-Frame VR Library --> <!-- Component --> <!-- ... --> <!-- ... --> <!-- ... -->
Usage (npm)
Install.
$ npm install aframe-obj-loader-component
Register.
AFRAME = ;AFRAME;
Use.
Properties
Property | Required | Description |
---|---|---|
src | Yes | URL for 3D .OBJ model asset. |
mtl | No | URL for .MTL material library asset. |