Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.11 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.11 KB

aframe-stl-model-component

Version License

A STL files component for A-Frame.

For A-Frame.

API

Property Description Default Value

Installation

Browser

Install and use by directly including the browser files:

<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script>
  <script src="https://unpkg.com/aframe-stl-model-component/dist/aframe-stl-model-component.min.js"></script>
</head>

<body>
  <a-scene>
    <a-entity stl-model="foo: bar"></a-entity>
  </a-scene>
</body>

npm

Install via npm:

npm install aframe-stl-model-component

Then require and use.

require('aframe');
require('aframe-stl-model-component');