seacloud9 / aframe-babylon_scene-component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aframe-babylon_scene-component

Version License

A Babylon Scene import component for A-Frame.

For A-Frame.

API

Property Description Default Value

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.4.0/aframe.min.js"></script>
  <script src="https://unpkg.com/aframe-babylon_scene-component/dist/aframe-babylon_scene-component.min.js"></script>
</head>

<body>
  <a-scene>
    <a-entity babylon_scene="foo: bar"></a-entity>
  </a-scene>
</body>

npm

Install via npm:

npm install aframe-babylon_scene-component

Then require and use.

require('aframe');
require('aframe-babylon_scene-component');

About

License:MIT License


Languages

Language:JavaScript 100.0%