hatch-aframe-inspector

0.8.1-beta.69 • Public • Published

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/

/hatch-aframe-inspector/

    Package Sidebar

    Install

    npm i hatch-aframe-inspector

    Weekly Downloads

    4

    Version

    0.8.1-beta.69

    License

    MIT

    Unpacked Size

    7.62 MB

    Total Files

    74

    Last publish

    Collaborators

    • siddisking