Back to Babylon Js

Babylon.js Inspector (Legacy)

packages/public/@babylonjs/inspector/readme.md

9.6.0855 B
Original Source

Babylon.js Inspector (Legacy)

Note: This is the legacy inspector. For the new inspector, use the @babylonjs/inspector package (published from inspector-v2). See the Inspector v2 documentation.

For usage documentation on the legacy inspector, see the legacy inspector documentation.

Installation

To install using npm:

bash
npm install @babylonjs/core @babylonjs/inspector-legacy

Usage

javascript
import "@babylonjs/core/Debug/debugLayer";
import "@babylonjs/inspector-legacy";

// ...
scene.debugLayer.show();

For more information, see the ES6 support documentation.