VRML loader component for A-Frame.
MIT License
An VRML component for A-Frame.
Description |
---|
Either url(path-to-world.wrl) or a selector to an <a-asset-item>
|
Install and use by directly including the browser files:
<head>
<title>My A-Frame Scene</title>
<script src="https://aframe.io/releases/0.2.0/aframe.min.js"></script>
<script src="https://rawgit.com/ngokevin/aframe-vrml-component/dist/aframe-vrml-component.min.js"></script>
</head>
<body>
<a-scene>
<a-entity vrml="url(house.wrl)"></a-entity>
</a-scene>
</body>
Install via NPM:
npm install aframe-vrml-component
Then register and use.
require('aframe');
require('aframe-vrml-component');