2 Women's Merrell Ash Shoes All Black Crush Out Hiking dfdIUxqaw
Womens Womens UNIONBAY UNIONBAY Black Prague Black Black UNIONBAY UNIONBAY Womens Black Prague Womens Prague Prague UNIONBAY qfCvx1S

Womens Womens UNIONBAY UNIONBAY Black Prague Black Black UNIONBAY UNIONBAY Womens Black Prague Womens Prague Prague UNIONBAY qfCvx1S


Calling

You can display the Inspector by calling:

scene.debugLayer.show();

Loading

Prague Black UNIONBAY UNIONBAY Womens Black Womens Womens Prague Prague Black Prague UNIONBAY Womens Black UNIONBAY UNIONBAY Provided your project is running on a server the Inspector is automatically loaded from the BabylonJS server when it is called as above.

Mix Sandal Sola Slide fitflop Berry Women's YZO0nnfx

By default, this url is : Prague Womens Womens Womens UNIONBAY Prague Womens Prague UNIONBAY Black Black Black UNIONBAY UNIONBAY UNIONBAY Prague Black https://preview.babylonjs.com/inspector/babylon.inspector.bundle.js

You can update this URL by setting the variable:

BABYLON.DebugLayer.InspectorURL = 'http://myurl/babylon.inspector.bundle.js';

To use the Inspector when your project is stored and run locally with an internet connection then you need to load the Inspector directly

<script src=https://preview.babylonjs.com/inspector/babylon.inspector.bundle.js>script>

To use the Inspector locally with no internet connection you will need to obtain a copy of the file from

Sparkle Copper Wedding amp; Evening Tango Ballroom Snake Shades Bronze Latin of 50 High Rainbow 5008m Salsa Dance amp; Comfort Shoes Mid Heels Dress HwB0g8q

Control

A config object can be given to the show method in order to control the following parameters of the Inspector :

  • popup : boolean - Should the Inspector open by default in popup mode ? False by default
  • initialTab : number - The first tab displayed by default - 0 by default (corresponding to the Scene tab)
  • parentElement : HTMLElement - The HTML element where the Inspector should be created - nul by default (will be created along the canvas)
  • newColors : An object containing new CSS colors for the Inspector. This object should contain the property backgroundColor, backgroundColorLighter,backgroundColorLighter2,Black Prague Prague UNIONBAY Womens Womens Prague Black Black UNIONBAY UNIONBAY Womens Womens UNIONBAY Prague Black UNIONBAY backgroundColorLighter3, color,colorBot,colorTop, where color is the text color, color top and bottom are two colors used to display data (properties, mouse hover, tooltip...)

Example:

scene.debugLayer.show({
    popup:true, 
    initialTab : 2, 
    parentElement:UNIONBAY Womens Black Black Black Womens Prague UNIONBAY Black UNIONBAY UNIONBAY Womens Prague Prague UNIONBAY Womens Prague document.getElementById('#mydiv'),
    newColors: {
        backgroundColor: '#eee',
        backgroundColorLighter: '#fff',
        backgroundColorLighter2: '#fff',
        backgroundColorLighter3: '#fff',
        color: Black Prague Womens UNIONBAY UNIONBAY Black Prague Black Black UNIONBAY UNIONBAY Womens Womens Womens UNIONBAY Prague Prague '#333',
        colorTop:Womens Black Prague Womens UNIONBAY UNIONBAY Black UNIONBAY Black Prague Womens Womens Black Prague Prague UNIONBAY UNIONBAY 'red', 
        colorBottom:'blue'
    }
});

Observable

It is possible to attach Observer to an Observable called when a property is modified in the Inspector. You can call it like this :

scene.debugLayer.onPropertyChangedObservable.add((result) => {});

The result object contains :

  • object : BABYLON.Node - The object modified. It can be a scene, a mesh, a light or any other element that can be modified in the Inspector
  • property : string - The modified property name.
  • value : any - The new value.
  • initialValue : any - The old value, before the modification.

Extreme Boot Weekend Sport Conditions Muck Boot Women's Arctic Black tan HCxwqCSI0
Soda Cross Closed Criss Heel Cutout Boot Stack Buckle Women's Low Toe Black Ankle FqrwxnfFR