babylonjs-gui-editor 5.22.1 → 5.23.0
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.guiEditor.d.ts
CHANGED
|
@@ -1226,6 +1226,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1226
1226
|
export interface MessageDialogProps {
|
|
1227
1227
|
message: string;
|
|
1228
1228
|
isError: boolean;
|
|
1229
|
+
onClose?: () => void;
|
|
1229
1230
|
}
|
|
1230
1231
|
export var MessageDialog: React.FC<MessageDialogProps>;
|
|
1231
1232
|
|
|
@@ -2517,6 +2518,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2517
2518
|
private _outputsContainer;
|
|
2518
2519
|
private _content;
|
|
2519
2520
|
private _comments;
|
|
2521
|
+
private _selectionBorder;
|
|
2520
2522
|
private _inputPorts;
|
|
2521
2523
|
private _outputPorts;
|
|
2522
2524
|
private _links;
|
|
@@ -2582,10 +2584,14 @@ declare module BABYLON {
|
|
|
2582
2584
|
|
|
2583
2585
|
}
|
|
2584
2586
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2585
|
-
export interface
|
|
2587
|
+
export interface VisualContentDescription {
|
|
2588
|
+
[key: string]: HTMLElement;
|
|
2589
|
+
}
|
|
2590
|
+
export interface IDisplayManager {
|
|
2586
2591
|
getHeaderClass(data: BABYLON.GuiEditor.SharedUIComponents.INodeData): string;
|
|
2587
2592
|
shouldDisplayPortLabels(data: BABYLON.GuiEditor.SharedUIComponents.IPortData): boolean;
|
|
2588
2593
|
updatePreviewContent(data: BABYLON.GuiEditor.SharedUIComponents.INodeData, contentArea: HTMLDivElement): void;
|
|
2594
|
+
updateFullVisualContent?(data: BABYLON.GuiEditor.SharedUIComponents.INodeData, visualContent: VisualContentDescription): void;
|
|
2589
2595
|
getBackgroundColor(data: BABYLON.GuiEditor.SharedUIComponents.INodeData): string;
|
|
2590
2596
|
getHeaderText(data: BABYLON.GuiEditor.SharedUIComponents.INodeData): string;
|
|
2591
2597
|
}
|