babylonjs-inspector 7.32.4 → 7.32.5
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 +23 -1
- package/babylon.inspector.module.d.ts +43 -2
- package/package.json +7 -7
package/babylon.inspector.d.ts
CHANGED
|
@@ -4108,7 +4108,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
4108
4108
|
onFrameCreatedObservable: BABYLON.Observable<INSPECTOR.SharedUIComponents.GraphFrame>;
|
|
4109
4109
|
onUpdateRequiredObservable: BABYLON.Observable<any>;
|
|
4110
4110
|
onGraphNodeRemovalObservable: BABYLON.Observable<INSPECTOR.SharedUIComponents.GraphNode>;
|
|
4111
|
-
onSelectionBoxMoved: BABYLON.Observable<
|
|
4111
|
+
onSelectionBoxMoved: BABYLON.Observable<ClientRect | DOMRect>;
|
|
4112
4112
|
onCandidateLinkMoved: BABYLON.Observable<BABYLON.Nullable<BABYLON.Vector2>>;
|
|
4113
4113
|
onCandidatePortSelectedObservable: BABYLON.Observable<BABYLON.Nullable<INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort>>;
|
|
4114
4114
|
onNewNodeCreatedObservable: BABYLON.Observable<INSPECTOR.SharedUIComponents.GraphNode>;
|
|
@@ -4128,6 +4128,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
4128
4128
|
data: any;
|
|
4129
4129
|
active: boolean;
|
|
4130
4130
|
}>;
|
|
4131
|
+
onPreviewCommandActivated: BABYLON.Observable<boolean>;
|
|
4131
4132
|
exportData: (data: any, frame?: BABYLON.Nullable<INSPECTOR.SharedUIComponents.GraphFrame>) => string;
|
|
4132
4133
|
isElbowConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
|
|
4133
4134
|
isDebugConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
|
|
@@ -4136,6 +4137,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
4136
4137
|
getEditorDataMap: () => {
|
|
4137
4138
|
[key: number]: number;
|
|
4138
4139
|
};
|
|
4140
|
+
getScene?: () => BABYLON.Scene;
|
|
4139
4141
|
createDefaultInputData: (rootData: any, portData: INSPECTOR.SharedUIComponents.IPortData, nodeContainer: INSPECTOR.SharedUIComponents.INodeContainer) => BABYLON.Nullable<{
|
|
4140
4142
|
data: INSPECTOR.SharedUIComponents.INodeData;
|
|
4141
4143
|
name: string;
|
|
@@ -4291,6 +4293,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
4291
4293
|
private _headerIconImg;
|
|
4292
4294
|
private _header;
|
|
4293
4295
|
private _connections;
|
|
4296
|
+
private _optionsContainer;
|
|
4294
4297
|
private _inputsContainer;
|
|
4295
4298
|
private _outputsContainer;
|
|
4296
4299
|
private _content;
|
|
@@ -4317,6 +4320,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
4317
4320
|
private _displayManager;
|
|
4318
4321
|
private _isVisible;
|
|
4319
4322
|
private _enclosingFrameId;
|
|
4323
|
+
private _visualPropertiesRefresh;
|
|
4320
4324
|
addClassToVisual(className: string): void;
|
|
4321
4325
|
removeClassFromVisual(className: string): void;
|
|
4322
4326
|
get isVisible(): boolean;
|
|
@@ -4355,6 +4359,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
4355
4359
|
private _onUp;
|
|
4356
4360
|
private _onMove;
|
|
4357
4361
|
renderProperties(): BABYLON.Nullable<JSX.Element>;
|
|
4362
|
+
private _forceRebuild;
|
|
4358
4363
|
appendVisual(root: HTMLDivElement, owner: INSPECTOR.SharedUIComponents.GraphCanvasComponent): void;
|
|
4359
4364
|
dispose(): void;
|
|
4360
4365
|
}
|
|
@@ -4681,6 +4686,23 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
4681
4686
|
|
|
4682
4687
|
|
|
4683
4688
|
|
|
4689
|
+
}
|
|
4690
|
+
declare module INSPECTOR {
|
|
4691
|
+
|
|
4692
|
+
|
|
4693
|
+
}
|
|
4694
|
+
declare module INSPECTOR.SharedUIComponents {
|
|
4695
|
+
/**
|
|
4696
|
+
* Function used to force a rebuild of the node system
|
|
4697
|
+
* @param source source object
|
|
4698
|
+
* @param stateManager defines the state manager to use
|
|
4699
|
+
* @param propertyName name of the property that has been changed
|
|
4700
|
+
* @param notifiers list of notifiers to use
|
|
4701
|
+
*/
|
|
4702
|
+
export function ForceRebuild(source: any, stateManager: INSPECTOR.SharedUIComponents.StateManager, propertyName: string, notifiers?: BABYLON.IEditablePropertyOption["notifiers"]): void;
|
|
4703
|
+
|
|
4704
|
+
|
|
4705
|
+
|
|
4684
4706
|
}
|
|
4685
4707
|
declare module INSPECTOR {
|
|
4686
4708
|
|
|
@@ -5113,6 +5113,7 @@ import { IPortData } from "babylonjs-inspector/nodeGraphSystem/interfaces/portDa
|
|
|
5113
5113
|
import { ISelectionChangedOptions } from "babylonjs-inspector/nodeGraphSystem/interfaces/selectionChangedOptions";
|
|
5114
5114
|
import { NodePort } from "babylonjs-inspector/nodeGraphSystem/nodePort";
|
|
5115
5115
|
import { HistoryStack } from "babylonjs-inspector/historyStack";
|
|
5116
|
+
import { Scene } from "babylonjs/scene";
|
|
5116
5117
|
export class StateManager {
|
|
5117
5118
|
data: any;
|
|
5118
5119
|
hostDocument: Document;
|
|
@@ -5127,7 +5128,7 @@ export class StateManager {
|
|
|
5127
5128
|
onFrameCreatedObservable: Observable<GraphFrame>;
|
|
5128
5129
|
onUpdateRequiredObservable: Observable<any>;
|
|
5129
5130
|
onGraphNodeRemovalObservable: Observable<GraphNode>;
|
|
5130
|
-
onSelectionBoxMoved: Observable<
|
|
5131
|
+
onSelectionBoxMoved: Observable<ClientRect | DOMRect>;
|
|
5131
5132
|
onCandidateLinkMoved: Observable<Nullable<Vector2>>;
|
|
5132
5133
|
onCandidatePortSelectedObservable: Observable<Nullable<FrameNodePort | NodePort>>;
|
|
5133
5134
|
onNewNodeCreatedObservable: Observable<GraphNode>;
|
|
@@ -5147,6 +5148,7 @@ export class StateManager {
|
|
|
5147
5148
|
data: any;
|
|
5148
5149
|
active: boolean;
|
|
5149
5150
|
}>;
|
|
5151
|
+
onPreviewCommandActivated: Observable<boolean>;
|
|
5150
5152
|
exportData: (data: any, frame?: Nullable<GraphFrame>) => string;
|
|
5151
5153
|
isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
5152
5154
|
isDebugConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
@@ -5155,6 +5157,7 @@ export class StateManager {
|
|
|
5155
5157
|
getEditorDataMap: () => {
|
|
5156
5158
|
[key: number]: number;
|
|
5157
5159
|
};
|
|
5160
|
+
getScene?: () => Scene;
|
|
5158
5161
|
createDefaultInputData: (rootData: any, portData: IPortData, nodeContainer: INodeContainer) => Nullable<{
|
|
5159
5162
|
data: INodeData;
|
|
5160
5163
|
name: string;
|
|
@@ -5301,6 +5304,7 @@ export class GraphNode {
|
|
|
5301
5304
|
private _headerIconImg;
|
|
5302
5305
|
private _header;
|
|
5303
5306
|
private _connections;
|
|
5307
|
+
private _optionsContainer;
|
|
5304
5308
|
private _inputsContainer;
|
|
5305
5309
|
private _outputsContainer;
|
|
5306
5310
|
private _content;
|
|
@@ -5327,6 +5331,7 @@ export class GraphNode {
|
|
|
5327
5331
|
private _displayManager;
|
|
5328
5332
|
private _isVisible;
|
|
5329
5333
|
private _enclosingFrameId;
|
|
5334
|
+
private _visualPropertiesRefresh;
|
|
5330
5335
|
addClassToVisual(className: string): void;
|
|
5331
5336
|
removeClassFromVisual(className: string): void;
|
|
5332
5337
|
get isVisible(): boolean;
|
|
@@ -5365,6 +5370,7 @@ export class GraphNode {
|
|
|
5365
5370
|
private _onUp;
|
|
5366
5371
|
private _onMove;
|
|
5367
5372
|
renderProperties(): Nullable<JSX.Element>;
|
|
5373
|
+
private _forceRebuild;
|
|
5368
5374
|
appendVisual(root: HTMLDivElement, owner: GraphCanvasComponent): void;
|
|
5369
5375
|
dispose(): void;
|
|
5370
5376
|
}
|
|
@@ -5691,6 +5697,19 @@ export class DisplayLedger {
|
|
|
5691
5697
|
};
|
|
5692
5698
|
}
|
|
5693
5699
|
|
|
5700
|
+
}
|
|
5701
|
+
declare module "babylonjs-inspector/nodeGraphSystem/automaticProperties" {
|
|
5702
|
+
import { IEditablePropertyOption } from "babylonjs/Decorators/nodeDecorator";
|
|
5703
|
+
import { StateManager } from "babylonjs-inspector/nodeGraphSystem/stateManager";
|
|
5704
|
+
/**
|
|
5705
|
+
* Function used to force a rebuild of the node system
|
|
5706
|
+
* @param source source object
|
|
5707
|
+
* @param stateManager defines the state manager to use
|
|
5708
|
+
* @param propertyName name of the property that has been changed
|
|
5709
|
+
* @param notifiers list of notifiers to use
|
|
5710
|
+
*/
|
|
5711
|
+
export function ForceRebuild(source: any, stateManager: StateManager, propertyName: string, notifiers?: IEditablePropertyOption["notifiers"]): void;
|
|
5712
|
+
|
|
5694
5713
|
}
|
|
5695
5714
|
declare module "babylonjs-inspector/nodeGraphSystem/types/framePortData" {
|
|
5696
5715
|
import { GraphFrame } from "babylonjs-inspector/nodeGraphSystem/graphFrame";
|
|
@@ -11988,7 +12007,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
11988
12007
|
onFrameCreatedObservable: BABYLON.Observable<INSPECTOR.SharedUIComponents.GraphFrame>;
|
|
11989
12008
|
onUpdateRequiredObservable: BABYLON.Observable<any>;
|
|
11990
12009
|
onGraphNodeRemovalObservable: BABYLON.Observable<INSPECTOR.SharedUIComponents.GraphNode>;
|
|
11991
|
-
onSelectionBoxMoved: BABYLON.Observable<
|
|
12010
|
+
onSelectionBoxMoved: BABYLON.Observable<ClientRect | DOMRect>;
|
|
11992
12011
|
onCandidateLinkMoved: BABYLON.Observable<BABYLON.Nullable<BABYLON.Vector2>>;
|
|
11993
12012
|
onCandidatePortSelectedObservable: BABYLON.Observable<BABYLON.Nullable<INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort>>;
|
|
11994
12013
|
onNewNodeCreatedObservable: BABYLON.Observable<INSPECTOR.SharedUIComponents.GraphNode>;
|
|
@@ -12008,6 +12027,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
12008
12027
|
data: any;
|
|
12009
12028
|
active: boolean;
|
|
12010
12029
|
}>;
|
|
12030
|
+
onPreviewCommandActivated: BABYLON.Observable<boolean>;
|
|
12011
12031
|
exportData: (data: any, frame?: BABYLON.Nullable<INSPECTOR.SharedUIComponents.GraphFrame>) => string;
|
|
12012
12032
|
isElbowConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
|
|
12013
12033
|
isDebugConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
|
|
@@ -12016,6 +12036,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
12016
12036
|
getEditorDataMap: () => {
|
|
12017
12037
|
[key: number]: number;
|
|
12018
12038
|
};
|
|
12039
|
+
getScene?: () => BABYLON.Scene;
|
|
12019
12040
|
createDefaultInputData: (rootData: any, portData: INSPECTOR.SharedUIComponents.IPortData, nodeContainer: INSPECTOR.SharedUIComponents.INodeContainer) => BABYLON.Nullable<{
|
|
12020
12041
|
data: INSPECTOR.SharedUIComponents.INodeData;
|
|
12021
12042
|
name: string;
|
|
@@ -12171,6 +12192,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
12171
12192
|
private _headerIconImg;
|
|
12172
12193
|
private _header;
|
|
12173
12194
|
private _connections;
|
|
12195
|
+
private _optionsContainer;
|
|
12174
12196
|
private _inputsContainer;
|
|
12175
12197
|
private _outputsContainer;
|
|
12176
12198
|
private _content;
|
|
@@ -12197,6 +12219,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
12197
12219
|
private _displayManager;
|
|
12198
12220
|
private _isVisible;
|
|
12199
12221
|
private _enclosingFrameId;
|
|
12222
|
+
private _visualPropertiesRefresh;
|
|
12200
12223
|
addClassToVisual(className: string): void;
|
|
12201
12224
|
removeClassFromVisual(className: string): void;
|
|
12202
12225
|
get isVisible(): boolean;
|
|
@@ -12235,6 +12258,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
12235
12258
|
private _onUp;
|
|
12236
12259
|
private _onMove;
|
|
12237
12260
|
renderProperties(): BABYLON.Nullable<JSX.Element>;
|
|
12261
|
+
private _forceRebuild;
|
|
12238
12262
|
appendVisual(root: HTMLDivElement, owner: INSPECTOR.SharedUIComponents.GraphCanvasComponent): void;
|
|
12239
12263
|
dispose(): void;
|
|
12240
12264
|
}
|
|
@@ -12561,6 +12585,23 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
12561
12585
|
|
|
12562
12586
|
|
|
12563
12587
|
|
|
12588
|
+
}
|
|
12589
|
+
declare module INSPECTOR {
|
|
12590
|
+
|
|
12591
|
+
|
|
12592
|
+
}
|
|
12593
|
+
declare module INSPECTOR.SharedUIComponents {
|
|
12594
|
+
/**
|
|
12595
|
+
* Function used to force a rebuild of the node system
|
|
12596
|
+
* @param source source object
|
|
12597
|
+
* @param stateManager defines the state manager to use
|
|
12598
|
+
* @param propertyName name of the property that has been changed
|
|
12599
|
+
* @param notifiers list of notifiers to use
|
|
12600
|
+
*/
|
|
12601
|
+
export function ForceRebuild(source: any, stateManager: INSPECTOR.SharedUIComponents.StateManager, propertyName: string, notifiers?: BABYLON.IEditablePropertyOption["notifiers"]): void;
|
|
12602
|
+
|
|
12603
|
+
|
|
12604
|
+
|
|
12564
12605
|
}
|
|
12565
12606
|
declare module INSPECTOR {
|
|
12566
12607
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-inspector",
|
|
3
|
-
"version": "7.32.
|
|
3
|
+
"version": "7.32.5",
|
|
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.32.
|
|
18
|
-
"babylonjs-gui": "^7.32.
|
|
19
|
-
"babylonjs-gui-editor": "^7.32.
|
|
20
|
-
"babylonjs-loaders": "^7.32.
|
|
21
|
-
"babylonjs-materials": "^7.32.
|
|
22
|
-
"babylonjs-serializers": "^7.32.
|
|
17
|
+
"babylonjs": "^7.32.5",
|
|
18
|
+
"babylonjs-gui": "^7.32.5",
|
|
19
|
+
"babylonjs-gui-editor": "^7.32.5",
|
|
20
|
+
"babylonjs-loaders": "^7.32.5",
|
|
21
|
+
"babylonjs-materials": "^7.32.5",
|
|
22
|
+
"babylonjs-serializers": "^7.32.5"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@dev/build-tools": "1.0.0",
|