aframe-vreditor-component
aframe-vreditor-component copied to clipboard
Build A-Frame scenes using this simple VR editor.
aframe-vreditor-component
A VR editor for A-Frame.
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.5.0/aframe.min.js"></script>
<script src="https://unpkg.com/aframe-vreditor-component/dist/aframe-vreditor-component.min.js"></script>
</head>
<body>
<a-scene>
<!-- A-Frame markup -->
</a-scene>
</body>
Components
edit
Make children of any entity editable in VR.
<a-entity edit></a-scene>
npm
Install via npm:
npm install aframe-vreditor-component
Then require and use.
require('aframe');
require('aframe-vreditor-component');