@babylonjs/inspector 7.20.0 → 7.21.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -85,6 +85,12 @@ export class Inspector {
85
85
  static MarkLineContainerTitleForHighlighting(title: string): void;
86
86
  static MarkMultipleLineContainerTitlesForHighlighting(titles: string[]): void;
87
87
  private static _CopyStyles;
88
+ private static _SceneExplorerOptions;
89
+ private static _InspectorOptions;
90
+ private static _EmbedOptions;
91
+ static PopupEmbed(): void;
92
+ static PopupSceneExplorer(): void;
93
+ static PopupInspector(): void;
88
94
  private static _CreateSceneExplorer;
89
95
  private static _CreateActionTabs;
90
96
  private static _CreateEmbedHost;
@@ -222,11 +228,13 @@ export class GlobalState {
222
228
  validationResults: Nullable<IGLTFValidationResults>;
223
229
  onValidationResultsUpdatedObservable: Observable<Nullable<IGLTFValidationResults>>;
224
230
  onExtensionLoadedObservable: Observable<IGLTFLoaderExtension>;
231
+ glTFLoaderOverrideExtensionsConfig: boolean;
225
232
  glTFLoaderExtensionDefaults: {
226
233
  [name: string]: {
227
234
  [key: string]: any;
228
235
  };
229
236
  };
237
+ glTFLoaderOverrideConfig: boolean;
230
238
  glTFLoaderDefaults: {
231
239
  [key: string]: any;
232
240
  };
@@ -1485,8 +1493,13 @@ interface IGLTFComponentProps {
1485
1493
  globalState: GlobalState;
1486
1494
  lockObject: LockObject;
1487
1495
  }
1488
- export class GLTFComponent extends React.Component<IGLTFComponentProps> {
1496
+ interface IGLTFComponentState {
1497
+ showGLTFLoaderOptions: boolean;
1498
+ showGLTFExtensionOptions: boolean;
1499
+ }
1500
+ export class GLTFComponent extends React.Component<IGLTFComponentProps, IGLTFComponentState> {
1489
1501
  private _onValidationResultsUpdatedObserver;
1502
+ constructor(props: IGLTFComponentProps);
1490
1503
  openValidationDetails(): void;
1491
1504
  prepareText(singularForm: string, count: number): string;
1492
1505
  componentDidMount(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "7.20.0",
3
+ "version": "7.21.0",
4
4
  "module": "dist/babylon.inspector.bundle.max.js",
5
5
  "main": "dist/babylon.inspector.bundle.max.js",
6
6
  "typings": "dist/babylon.inspector.module.d.ts",
@@ -32,12 +32,12 @@
32
32
  "@types/react-dom": ">=16.0.9"
33
33
  },
34
34
  "devDependencies": {
35
- "@babylonjs/core": "^7.20.0",
36
- "@babylonjs/gui": "^7.20.0",
37
- "@babylonjs/gui-editor": "^7.20.0",
38
- "@babylonjs/loaders": "^7.20.0",
39
- "@babylonjs/materials": "^7.20.0",
40
- "@babylonjs/serializers": "^7.20.0",
35
+ "@babylonjs/core": "^7.21.0",
36
+ "@babylonjs/gui": "^7.21.0",
37
+ "@babylonjs/gui-editor": "^7.21.0",
38
+ "@babylonjs/loaders": "^7.21.0",
39
+ "@babylonjs/materials": "^7.21.0",
40
+ "@babylonjs/serializers": "^7.21.0",
41
41
  "@lts/gui": "1.0.0",
42
42
  "react": "^17.0.2",
43
43
  "react-dom": "^17.0.2"