sebavan 4be78f1170 Merge 7 年 前
..
babylon.inspector.bundle.js 63e3b8dd6f Fix several issues with InvalidateRect 7 年 前
babylon.inspector.bundle.max.js d9895c016b Viewer Compilation 7 年 前
babylon.inspector.bundle.max.js.map d9895c016b Viewer Compilation 7 年 前
babylon.inspector.d.ts a87bcfc082 Merge 7 年 前
babylon.inspector.module.d.ts a87bcfc082 Merge 7 年 前
package.json 4be78f1170 Merge 7 年 前
readme.md 6a55099d73 fix dead CDN link 7 年 前

readme.md

Babylon.js inspector module

For usage documentation please visit http://doc.babylonjs.com/how_to/debug_layer.

Installation instructions

The inspector will be automatically (async) loaded when starting the debug layer, if not already included. So technically, nothing needs to be done!

If you wish however to use a different version of the inspector or host it on your own, follow these instructions:

CDN

The latest compiled js file is offered on our public CDN here:

NPM

To install using npm :

npm install --save babylonjs babylonjs-inspector

Afterwards it can be imported to the project using:

import * as BABYLON from 'babylonjs';
import 'babylonjs-inspector';

This will create a global INSPECTOR variable that will be used bay BabylonJS

Webpack is supported.