@babylonjs/inspector 7.54.1 → 7.54.3
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";
|
@@ -5372,7 +5412,7 @@ export class StateManager {
|
|
5372
5412
|
exportData: (data: any, frame?: Nullable<GraphFrame>) => string;
|
5373
5413
|
isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
5374
5414
|
isDebugConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
5375
|
-
applyNodePortDesign: (data: IPortData, element: HTMLElement, imgHost:
|
5415
|
+
applyNodePortDesign: (data: IPortData, element: HTMLElement, imgHost: HTMLImageElement, pip: HTMLDivElement) => boolean;
|
5376
5416
|
getPortColor: (portData: IPortData) => string;
|
5377
5417
|
storeEditorData: (serializationObject: any, frame?: Nullable<GraphFrame>) => void;
|
5378
5418
|
getEditorDataMap: () => {
|
@@ -5442,7 +5482,7 @@ export class NodePort {
|
|
5442
5482
|
node: GraphNode;
|
5443
5483
|
protected _element: HTMLDivElement;
|
5444
5484
|
protected _portContainer: HTMLElement;
|
5445
|
-
protected _imgHost:
|
5485
|
+
protected _imgHost: HTMLImageElement;
|
5446
5486
|
protected _pip: HTMLDivElement;
|
5447
5487
|
protected _stateManager: StateManager;
|
5448
5488
|
protected _portLabelElement: Element;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/inspector",
|
3
|
-
"version": "7.54.
|
3
|
+
"version": "7.54.3",
|
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.3",
|
36
|
+
"@babylonjs/gui": "^7.54.3",
|
37
|
+
"@babylonjs/gui-editor": "^7.54.3",
|
38
|
+
"@babylonjs/loaders": "^7.54.3",
|
39
|
+
"@babylonjs/materials": "^7.54.3",
|
40
|
+
"@babylonjs/serializers": "^7.54.3",
|
41
41
|
"@lts/gui": "1.0.0",
|
42
42
|
"react": "^17.0.2",
|
43
43
|
"react-dom": "^17.0.2"
|