@babylonjs/inspector 7.54.0 → 7.54.2
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.
@@ -328,7 +328,8 @@ import * as React from "react";
|
|
328
328
|
interface ITreeItemLabelComponentProps {
|
329
329
|
label: string;
|
330
330
|
onClick?: () => void;
|
331
|
-
icon
|
331
|
+
icon?: any;
|
332
|
+
iconBase64?: string;
|
332
333
|
color: string;
|
333
334
|
}
|
334
335
|
export class TreeItemLabelComponent extends React.Component<ITreeItemLabelComponentProps> {
|
@@ -437,6 +438,7 @@ export class SceneExplorerComponent extends React.Component<ISceneExplorerCompon
|
|
437
438
|
private _getMaterialsContextMenus;
|
438
439
|
private _getSpriteManagersContextMenus;
|
439
440
|
private _getParticleSystemsContextMenus;
|
441
|
+
private _getFrameGraphsContextMenus;
|
440
442
|
|
441
443
|
onClose(): void;
|
442
444
|
onPopup(): void;
|
@@ -744,6 +746,22 @@ export class LightTreeItemComponent extends React.Component<ILightTreeItemCompon
|
|
744
746
|
}
|
745
747
|
export {};
|
746
748
|
|
749
|
+
}
|
750
|
+
declare module "@babylonjs/inspector/components/sceneExplorer/entities/frameGraphTreeItemComponent" {
|
751
|
+
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
752
|
+
import * as React from "react";
|
753
|
+
import { FrameGraph } from "@babylonjs/core/FrameGraph/frameGraph";
|
754
|
+
interface IFrameGraphItemComponenttProps {
|
755
|
+
frameGraph: FrameGraph;
|
756
|
+
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
757
|
+
onClick: () => void;
|
758
|
+
}
|
759
|
+
export class FrameGraphTreeItemComponent extends React.Component<IFrameGraphItemComponenttProps> {
|
760
|
+
constructor(props: IFrameGraphItemComponenttProps);
|
761
|
+
|
762
|
+
}
|
763
|
+
export {};
|
764
|
+
|
747
765
|
}
|
748
766
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/effectLayerPipelineTreeItemComponent" {
|
749
767
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
@@ -3441,6 +3459,28 @@ export class LayerPropertyGridComponent extends React.Component<ILayerPropertyGr
|
|
3441
3459
|
}
|
3442
3460
|
export {};
|
3443
3461
|
|
3462
|
+
}
|
3463
|
+
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/frameGraphs/frameGraphPropertyGridComponent" {
|
3464
|
+
import * as React from "react";
|
3465
|
+
import { Observable } from "@babylonjs/core/Misc/observable";
|
3466
|
+
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3467
|
+
import { LockObject } from "@babylonjs/inspector/tabs/propertyGrids/lockObject";
|
3468
|
+
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3469
|
+
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
3470
|
+
import { FrameGraph } from "@babylonjs/core/FrameGraph/frameGraph";
|
3471
|
+
interface IFrameGraphPropertyGridComponentProps {
|
3472
|
+
globalState: GlobalState;
|
3473
|
+
frameGraph: FrameGraph;
|
3474
|
+
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
3475
|
+
lockObject: LockObject;
|
3476
|
+
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
3477
|
+
}
|
3478
|
+
export class FrameGraphPropertyGridComponent extends React.Component<IFrameGraphPropertyGridComponentProps> {
|
3479
|
+
constructor(props: IFrameGraphPropertyGridComponentProps);
|
3480
|
+
|
3481
|
+
}
|
3482
|
+
export {};
|
3483
|
+
|
3444
3484
|
}
|
3445
3485
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/cameras/freeCameraPropertyGridComponent" {
|
3446
3486
|
import * as React from "react";
|
@@ -4607,6 +4647,7 @@ export class TextureLinkLineComponent extends React.Component<ITextureLinkLineCo
|
|
4607
4647
|
componentWillUnmount(): void;
|
4608
4648
|
debugTexture(): void;
|
4609
4649
|
onLink(): void;
|
4650
|
+
onLinkTexture(texture: BaseTexture): void;
|
4610
4651
|
updateTexture(file: File): void;
|
4611
4652
|
removeTexture(): void;
|
4612
4653
|
|
@@ -5371,7 +5412,7 @@ export class StateManager {
|
|
5371
5412
|
exportData: (data: any, frame?: Nullable<GraphFrame>) => string;
|
5372
5413
|
isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
5373
5414
|
isDebugConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
5374
|
-
applyNodePortDesign: (data: IPortData, element: HTMLElement, imgHost:
|
5415
|
+
applyNodePortDesign: (data: IPortData, element: HTMLElement, imgHost: HTMLImageElement, pip: HTMLDivElement) => boolean;
|
5375
5416
|
getPortColor: (portData: IPortData) => string;
|
5376
5417
|
storeEditorData: (serializationObject: any, frame?: Nullable<GraphFrame>) => void;
|
5377
5418
|
getEditorDataMap: () => {
|
@@ -5441,7 +5482,7 @@ export class NodePort {
|
|
5441
5482
|
node: GraphNode;
|
5442
5483
|
protected _element: HTMLDivElement;
|
5443
5484
|
protected _portContainer: HTMLElement;
|
5444
|
-
protected _imgHost:
|
5485
|
+
protected _imgHost: HTMLImageElement;
|
5445
5486
|
protected _pip: HTMLDivElement;
|
5446
5487
|
protected _stateManager: StateManager;
|
5447
5488
|
protected _portLabelElement: Element;
|
@@ -6285,6 +6326,31 @@ interface IUnitButtonProps {
|
|
6285
6326
|
|
6286
6327
|
export {};
|
6287
6328
|
|
6329
|
+
}
|
6330
|
+
declare module "@babylonjs/inspector/lines/textureButtonLineComponent" {
|
6331
|
+
import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";
|
6332
|
+
import { Scene } from "@babylonjs/core/scene";
|
6333
|
+
import * as React from "react";
|
6334
|
+
interface ITextureButtonLineProps {
|
6335
|
+
label: string;
|
6336
|
+
scene: Scene;
|
6337
|
+
onClick: (file: File) => void;
|
6338
|
+
onLink: (texture: BaseTexture) => void;
|
6339
|
+
accept: string;
|
6340
|
+
}
|
6341
|
+
interface ITextureButtonLineState {
|
6342
|
+
isOpen: boolean;
|
6343
|
+
}
|
6344
|
+
export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
|
6345
|
+
private static _IDGenerator;
|
6346
|
+
private _id;
|
6347
|
+
private _uploadInputRef;
|
6348
|
+
constructor(props: ITextureButtonLineProps);
|
6349
|
+
onChange(evt: any): void;
|
6350
|
+
|
6351
|
+
}
|
6352
|
+
export {};
|
6353
|
+
|
6288
6354
|
}
|
6289
6355
|
declare module "@babylonjs/inspector/lines/textLineComponent" {
|
6290
6356
|
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.2",
|
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.2",
|
36
|
+
"@babylonjs/gui": "^7.54.2",
|
37
|
+
"@babylonjs/gui-editor": "^7.54.2",
|
38
|
+
"@babylonjs/loaders": "^7.54.2",
|
39
|
+
"@babylonjs/materials": "^7.54.2",
|
40
|
+
"@babylonjs/serializers": "^7.54.2",
|
41
41
|
"@lts/gui": "1.0.0",
|
42
42
|
"react": "^17.0.2",
|
43
43
|
"react-dom": "^17.0.2"
|