impronunciable / aframe-inspector

A visual inspector tool for A-Frame. Just hit *<ctrl> + <alt> + i* on any scene.

Home Page:https://aframe.io/aframe-inspector/example/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A-Frame Inspector

build status

A visual inspector tool for A-Frame scenes. Just hit <ctrl> + <alt> + i on any A-Frame scene to open up the Inspector. Check out the guide.

VIEW DEMO

Inspector Preview

Using the Inspector

A-Frame comes with a keyboard shortcut to inject the inspector. Just open up any A-Frame scene (running at least A-Frame v0.3.0) and press <ctrl> + <alt> + i to inject the inspector, just like you would use a DOM inspector:

This is done with the inspector component. By default, this is set on the scene already. If we want, we can specify a specific build of the Inspector to inject by passing a URL.

<a-scene inspector="url: https://aframe.io/releases/0.3.0/aframe-inspector.min.js">
  <!-- Scene... -->
</a-scene>

Local Development

git clone git@github.com:aframevr/aframe-inspector.git
cd aframe-inspector
npm install
npm start

Then navigate to http://localhost:3333/example/

About

A visual inspector tool for A-Frame. Just hit *<ctrl> + <alt> + i* on any scene.

https://aframe.io/aframe-inspector/example/

License:MIT License


Languages

Language:JavaScript 80.6%Language:CSS 10.3%Language:HTML 9.1%