Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 766 Bytes

README.md

File metadata and controls

48 lines (33 loc) · 766 Bytes

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');