|
6 years ago | |
---|---|---|
.. | ||
babylon.inspector.bundle.js | 6 years ago | |
babylon.inspector.bundle.js.map | 6 years ago | |
babylon.inspector.d.ts | 6 years ago | |
babylon.inspector.module.d.ts | 6 years ago | |
package.json | 6 years ago | |
readme.md | 6 years ago |
For usage documentation please visit http://doc.babylonjs.com/how_to/debug_layer.
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:
The latest compiled js file is offered on our public CDN here:
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.