babylonjs-inspector 7.54.0 → 7.54.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/babylon.inspector.d.ts
CHANGED
|
@@ -3575,6 +3575,7 @@ declare module INSPECTOR {
|
|
|
3575
3575
|
componentWillUnmount(): void;
|
|
3576
3576
|
debugTexture(): void;
|
|
3577
3577
|
onLink(): void;
|
|
3578
|
+
onLinkTexture(texture: BABYLON.BaseTexture): void;
|
|
3578
3579
|
updateTexture(file: File): void;
|
|
3579
3580
|
removeTexture(): void;
|
|
3580
3581
|
render(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -5331,6 +5332,33 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
5331
5332
|
|
|
5332
5333
|
|
|
5333
5334
|
|
|
5335
|
+
}
|
|
5336
|
+
declare module INSPECTOR {
|
|
5337
|
+
|
|
5338
|
+
|
|
5339
|
+
}
|
|
5340
|
+
declare module INSPECTOR.SharedUIComponents {
|
|
5341
|
+
interface ITextureButtonLineProps {
|
|
5342
|
+
label: string;
|
|
5343
|
+
scene: BABYLON.Scene;
|
|
5344
|
+
onClick: (file: File) => void;
|
|
5345
|
+
onLink: (texture: BABYLON.BaseTexture) => void;
|
|
5346
|
+
accept: string;
|
|
5347
|
+
}
|
|
5348
|
+
interface ITextureButtonLineState {
|
|
5349
|
+
isOpen: boolean;
|
|
5350
|
+
}
|
|
5351
|
+
export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
|
|
5352
|
+
private static _IDGenerator;
|
|
5353
|
+
private _id;
|
|
5354
|
+
private _uploadInputRef;
|
|
5355
|
+
constructor(props: ITextureButtonLineProps);
|
|
5356
|
+
onChange(evt: any): void;
|
|
5357
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
5358
|
+
}
|
|
5359
|
+
|
|
5360
|
+
|
|
5361
|
+
|
|
5334
5362
|
}
|
|
5335
5363
|
declare module INSPECTOR {
|
|
5336
5364
|
|
|
@@ -4607,6 +4607,7 @@ export class TextureLinkLineComponent extends React.Component<ITextureLinkLineCo
|
|
|
4607
4607
|
componentWillUnmount(): void;
|
|
4608
4608
|
debugTexture(): void;
|
|
4609
4609
|
onLink(): void;
|
|
4610
|
+
onLinkTexture(texture: BaseTexture): void;
|
|
4610
4611
|
updateTexture(file: File): void;
|
|
4611
4612
|
removeTexture(): void;
|
|
4612
4613
|
|
|
@@ -6285,6 +6286,31 @@ interface IUnitButtonProps {
|
|
|
6285
6286
|
|
|
6286
6287
|
export {};
|
|
6287
6288
|
|
|
6289
|
+
}
|
|
6290
|
+
declare module "babylonjs-inspector/lines/textureButtonLineComponent" {
|
|
6291
|
+
import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
|
|
6292
|
+
import { Scene } from "babylonjs/scene";
|
|
6293
|
+
import * as React from "react";
|
|
6294
|
+
interface ITextureButtonLineProps {
|
|
6295
|
+
label: string;
|
|
6296
|
+
scene: Scene;
|
|
6297
|
+
onClick: (file: File) => void;
|
|
6298
|
+
onLink: (texture: BaseTexture) => void;
|
|
6299
|
+
accept: string;
|
|
6300
|
+
}
|
|
6301
|
+
interface ITextureButtonLineState {
|
|
6302
|
+
isOpen: boolean;
|
|
6303
|
+
}
|
|
6304
|
+
export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
|
|
6305
|
+
private static _IDGenerator;
|
|
6306
|
+
private _id;
|
|
6307
|
+
private _uploadInputRef;
|
|
6308
|
+
constructor(props: ITextureButtonLineProps);
|
|
6309
|
+
onChange(evt: any): void;
|
|
6310
|
+
|
|
6311
|
+
}
|
|
6312
|
+
export {};
|
|
6313
|
+
|
|
6288
6314
|
}
|
|
6289
6315
|
declare module "babylonjs-inspector/lines/textLineComponent" {
|
|
6290
6316
|
import * as React from "react";
|
|
@@ -11738,6 +11764,7 @@ declare module INSPECTOR {
|
|
|
11738
11764
|
componentWillUnmount(): void;
|
|
11739
11765
|
debugTexture(): void;
|
|
11740
11766
|
onLink(): void;
|
|
11767
|
+
onLinkTexture(texture: BABYLON.BaseTexture): void;
|
|
11741
11768
|
updateTexture(file: File): void;
|
|
11742
11769
|
removeTexture(): void;
|
|
11743
11770
|
render(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -13494,6 +13521,33 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
13494
13521
|
|
|
13495
13522
|
|
|
13496
13523
|
|
|
13524
|
+
}
|
|
13525
|
+
declare module INSPECTOR {
|
|
13526
|
+
|
|
13527
|
+
|
|
13528
|
+
}
|
|
13529
|
+
declare module INSPECTOR.SharedUIComponents {
|
|
13530
|
+
interface ITextureButtonLineProps {
|
|
13531
|
+
label: string;
|
|
13532
|
+
scene: BABYLON.Scene;
|
|
13533
|
+
onClick: (file: File) => void;
|
|
13534
|
+
onLink: (texture: BABYLON.BaseTexture) => void;
|
|
13535
|
+
accept: string;
|
|
13536
|
+
}
|
|
13537
|
+
interface ITextureButtonLineState {
|
|
13538
|
+
isOpen: boolean;
|
|
13539
|
+
}
|
|
13540
|
+
export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
|
|
13541
|
+
private static _IDGenerator;
|
|
13542
|
+
private _id;
|
|
13543
|
+
private _uploadInputRef;
|
|
13544
|
+
constructor(props: ITextureButtonLineProps);
|
|
13545
|
+
onChange(evt: any): void;
|
|
13546
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
13547
|
+
}
|
|
13548
|
+
|
|
13549
|
+
|
|
13550
|
+
|
|
13497
13551
|
}
|
|
13498
13552
|
declare module INSPECTOR {
|
|
13499
13553
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-inspector",
|
|
3
|
-
"version": "7.54.
|
|
3
|
+
"version": "7.54.1",
|
|
4
4
|
"main": "babylon.inspector.bundle.max.js",
|
|
5
5
|
"types": "babylon.inspector.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.54.
|
|
18
|
-
"babylonjs-gui": "^7.54.
|
|
19
|
-
"babylonjs-gui-editor": "^7.54.
|
|
20
|
-
"babylonjs-loaders": "^7.54.
|
|
21
|
-
"babylonjs-materials": "^7.54.
|
|
22
|
-
"babylonjs-serializers": "^7.54.
|
|
17
|
+
"babylonjs": "^7.54.1",
|
|
18
|
+
"babylonjs-gui": "^7.54.1",
|
|
19
|
+
"babylonjs-gui-editor": "^7.54.1",
|
|
20
|
+
"babylonjs-loaders": "^7.54.1",
|
|
21
|
+
"babylonjs-materials": "^7.54.1",
|
|
22
|
+
"babylonjs-serializers": "^7.54.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@dev/build-tools": "1.0.0",
|