Babylon.js Inspector v2 Custom Extensions Collection

Hello friends,
I started to collect the Inspector v2 Custom Extensions Collection :slight_smile: -

The current list of custom extensions (one needs to install it by clicking at Manage Extensions icon at the topbar right and then on relevant extension).

Import GLB Tool

  1. Click “Load GLB File” to import a model

  2. Click the model name to select it in the Inspector

  3. Use the Clone icon (brown) to create independent copies

  4. Use the Instance icon (green) to create lightweight instances

  5. Click Delete icons to remove individual items

  6. Toggle “Auto-select loaded model” to control selection behavior

  7. Use “Dispose All” to clean up all loaded models

Capture Toolbar

  1. Click the “Capture” button in the bottom toolbar

  2. Screenshot is captured and displayed

  3. Click “Save” to download the screenshot

  4. Click “Delete” to discard the screenshot

Dispose By Type

  1. Open the “Dispose By Type [Experimental]” tool

  2. Select object type (Lights, Meshes, Materials, Textures, etc.)

  3. Check items you want to dispose

  4. Click “Dispose Selected” to remove them from the scene

  5. Use for quick cleanup of large scenes

All preinstalled Service Definitions are listed at Info tab.

For example, Reflection Probes - Scene Explorer integration for Reflection Probes

  • Adds “Reflection Probes” section to Scene Explorer

  • Properties pane with four sections:

    • Meshes in Probe Renderlist - View and manage meshes in the probe’s renderList

    • Add Mesh - Add available meshes to the renderList (with geometry/PBR material filtering)

    • Materials Reflected This Probe - View materials using the probe’s cubeTexture

    • Add Material - Assign probe’s cubeTexture to available PBR materials

  • Add/Remove icons for easy management

  • Auto-refresh on changes

  • Smart filtering to prevent conflicts

The link - https://inspector.babylonpress.org/

The source - GitHub - eldinor/Babylon.js-Inspector-v2-Custom-Extensions

Feedback and PRs are welcome! :slight_smile:

6 Likes

cc @ryantrem

Ryan will love that!!

2 Likes

Yes this is awesome @labris, and thank you for sharing the code with the community!

In the Inspector v2 preview announcement thread, the last bullet of the last section is about having a community extension feed:

We are also considering the idea of having a separate community governed extension feed. This would be outside of the Babylon monorepo, and extensions would be dynamically fetched (e.g. not part of the default Inspector v2 bundle). We would do this so that the community is not bottlenecked on the Babylon team for PR reviews, and so that arbitrary npm packages could be used for extensions (we are very careful with bringing any new dependencies into the core Babylon monorepo). If this sounds interesting to you, please let us know!

If we had this, would you want to contribute your extensions to this community extension feed so that the extensions were available through the extensions dialog anywhere Inspector v2 is used?