MCPcopy Index your code
hub / github.com/aframevr/aframe-inspector

github.com/aframevr/aframe-inspector @v1.4.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.4.1 ↗ · + Follow
261 symbols 459 edges 44 files 18 documented · 7% updated 6d agov1.4.1 · 2023-01-06★ 68935 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

A-Frame Inspector

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

Also check out:

Inspector Preview

Using the Inspector

Keyboard Shortcut

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:

Specifying Inspector Build

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. For debugging:

<a-scene inspector="url: http://localhost:3333/dist/aframe-inspector.js">

</a-scene>

To use the master branch of the Inspector:

<a-scene inspector="url: https://cdn.jsdelivr.net/gh/aframevr/aframe-inspector@master/dist/aframe-inspector.min.js">
</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/examples/

Core symbols most depended-on inside this repo

update
called by 15
src/lib/TransformControls.js
onChange
called by 11
src/components/viewport/CameraToolbar.js
setValue
called by 6
src/components/widgets/NumberWidget.js
init
called by 6
src/lib/TransformControls.js
getFilename
called by 4
src/components/modals/ModalTextures.js
setValue
called by 4
src/components/widgets/TextureWidget.js
isSingleProperty
called by 4
src/lib/entity.js
getHexString
called by 3
src/components/widgets/ColorWidget.js

Shape

Method 107
Function 90
Class 64

Languages

TypeScript100%

Modules by API surface

src/lib/TransformControls.js34 symbols
src/lib/entity.js24 symbols
src/components/modals/ModalTextures.js15 symbols
src/components/widgets/TextureWidget.js14 symbols
src/lib/raycaster.js9 symbols
src/lib/EditorControls.js9 symbols
src/lib/utils.js8 symbols
src/components/widgets/NumberWidget.js7 symbols
src/components/widgets/ColorWidget.js7 symbols
src/components/viewport/CameraToolbar.js7 symbols
src/components/scenegraph/Toolbar.js7 symbols
src/components/scenegraph/SceneGraph.js7 symbols

For agents

$ claude mcp add aframe-inspector \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page