A component for loading L-Draw parts and models.
For A-Frame.
Property | Description | Default Value |
---|---|---|
src |
URL of the L-Draw model | |
steps |
Number of blocks to show |
Install and use by directly including the browser files:
<!DOCTYPE html>
<head>
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aframe-bricks.min.js"></script>
</head>
<body>
<a-scene>
<a-entity bricks="foo: bar"></a-entity>
</a-scene>
</body>
NOTE:
This component is still in development.
It hasn't been published to NPM, yet.
Install via npm:
npm install aframe-bricks
Then require and use.
require('aframe');
require('aframe-bricks');