@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.
@@ -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/core/Materials/Textures/baseTexture";
|
6292
|
+
import { Scene } from "@babylonjs/core/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";
|
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
|
"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.54.
|
36
|
-
"@babylonjs/gui": "^7.54.
|
37
|
-
"@babylonjs/gui-editor": "^7.54.
|
38
|
-
"@babylonjs/loaders": "^7.54.
|
39
|
-
"@babylonjs/materials": "^7.54.
|
40
|
-
"@babylonjs/serializers": "^7.54.
|
35
|
+
"@babylonjs/core": "^7.54.1",
|
36
|
+
"@babylonjs/gui": "^7.54.1",
|
37
|
+
"@babylonjs/gui-editor": "^7.54.1",
|
38
|
+
"@babylonjs/loaders": "^7.54.1",
|
39
|
+
"@babylonjs/materials": "^7.54.1",
|
40
|
+
"@babylonjs/serializers": "^7.54.1",
|
41
41
|
"@lts/gui": "1.0.0",
|
42
42
|
"react": "^17.0.2",
|
43
43
|
"react-dom": "^17.0.2"
|