1.0.1 • Published 7 years ago

aframe-navigation v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

aframe-navigation-component

Version License

Highly Customizable Navigation System

For A-Frame.

DEMO

API

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-navigation/dist/aframe-navigation.min.js"></script>
</head>

<body>
  <a-scene>
    <a-entity nav-layout="navMapUrl:URL_HERE; layoutView:LAYOUT_VIEW_NAME_HERE"></a-entity>
    <a-entity laser-controls="hand: right" raycaster="objects: .interactive"></a-entity>
  </a-scene>
</body>

npm

Install via npm:

npm install aframe-navigation

Then require and use.

require('aframe');
require('aframe-navigation');