babylonjs-node-geometry-editor 7.32.4 → 7.33.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.
|
@@ -368,7 +368,6 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
368
368
|
}
|
|
369
369
|
export class GenericPropertyTabComponent extends React.Component<BABYLON.NodeGeometryEditor.SharedUIComponents.IPropertyComponentProps> {
|
|
370
370
|
constructor(props: BABYLON.NodeGeometryEditor.SharedUIComponents.IPropertyComponentProps);
|
|
371
|
-
forceRebuild(propertyName: string, notifiers?: IEditablePropertyOption["notifiers"]): void;
|
|
372
371
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
373
372
|
}
|
|
374
373
|
|
|
@@ -1168,7 +1167,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1168
1167
|
onFrameCreatedObservable: BABYLON.Observable<BABYLON.NodeGeometryEditor.SharedUIComponents.GraphFrame>;
|
|
1169
1168
|
onUpdateRequiredObservable: BABYLON.Observable<any>;
|
|
1170
1169
|
onGraphNodeRemovalObservable: BABYLON.Observable<BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode>;
|
|
1171
|
-
onSelectionBoxMoved: BABYLON.Observable<
|
|
1170
|
+
onSelectionBoxMoved: BABYLON.Observable<ClientRect | DOMRect>;
|
|
1172
1171
|
onCandidateLinkMoved: BABYLON.Observable<BABYLON.Nullable<BABYLON.Vector2>>;
|
|
1173
1172
|
onCandidatePortSelectedObservable: BABYLON.Observable<BABYLON.Nullable<BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort>>;
|
|
1174
1173
|
onNewNodeCreatedObservable: BABYLON.Observable<BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode>;
|
|
@@ -1188,6 +1187,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1188
1187
|
data: any;
|
|
1189
1188
|
active: boolean;
|
|
1190
1189
|
}>;
|
|
1190
|
+
onPreviewCommandActivated: BABYLON.Observable<boolean>;
|
|
1191
1191
|
exportData: (data: any, frame?: BABYLON.Nullable<BABYLON.NodeGeometryEditor.SharedUIComponents.GraphFrame>) => string;
|
|
1192
1192
|
isElbowConnectionAllowed: (nodeA: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort) => boolean;
|
|
1193
1193
|
isDebugConnectionAllowed: (nodeA: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort) => boolean;
|
|
@@ -1196,6 +1196,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1196
1196
|
getEditorDataMap: () => {
|
|
1197
1197
|
[key: number]: number;
|
|
1198
1198
|
};
|
|
1199
|
+
getScene?: () => BABYLON.Scene;
|
|
1199
1200
|
createDefaultInputData: (rootData: any, portData: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData, nodeContainer: BABYLON.NodeGeometryEditor.SharedUIComponents.INodeContainer) => BABYLON.Nullable<{
|
|
1200
1201
|
data: BABYLON.NodeGeometryEditor.SharedUIComponents.INodeData;
|
|
1201
1202
|
name: string;
|
|
@@ -1260,6 +1261,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1260
1261
|
portData: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData;
|
|
1261
1262
|
node: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode;
|
|
1262
1263
|
protected _element: HTMLDivElement;
|
|
1264
|
+
protected _portContainer: HTMLElement;
|
|
1263
1265
|
protected _img: HTMLImageElement;
|
|
1264
1266
|
protected _pip: HTMLDivElement;
|
|
1265
1267
|
protected _stateManager: BABYLON.NodeGeometryEditor.SharedUIComponents.StateManager;
|
|
@@ -1269,6 +1271,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1269
1271
|
protected _exposedOnFrame: boolean;
|
|
1270
1272
|
delegatedPort: BABYLON.Nullable<BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort>;
|
|
1271
1273
|
get element(): HTMLDivElement;
|
|
1274
|
+
get container(): HTMLElement;
|
|
1272
1275
|
get portName(): string;
|
|
1273
1276
|
set portName(newName: string);
|
|
1274
1277
|
get disabled(): boolean;
|
|
@@ -1349,8 +1352,11 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1349
1352
|
private _headerContainer;
|
|
1350
1353
|
private _headerIcon;
|
|
1351
1354
|
private _headerIconImg;
|
|
1355
|
+
private _headerCollapseImg;
|
|
1352
1356
|
private _header;
|
|
1357
|
+
private _headerCollapse;
|
|
1353
1358
|
private _connections;
|
|
1359
|
+
private _optionsContainer;
|
|
1354
1360
|
private _inputsContainer;
|
|
1355
1361
|
private _outputsContainer;
|
|
1356
1362
|
private _content;
|
|
@@ -1377,8 +1383,10 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1377
1383
|
private _displayManager;
|
|
1378
1384
|
private _isVisible;
|
|
1379
1385
|
private _enclosingFrameId;
|
|
1386
|
+
private _visualPropertiesRefresh;
|
|
1380
1387
|
addClassToVisual(className: string): void;
|
|
1381
1388
|
removeClassFromVisual(className: string): void;
|
|
1389
|
+
get isCollapsed(): boolean;
|
|
1382
1390
|
get isVisible(): boolean;
|
|
1383
1391
|
set isVisible(value: boolean);
|
|
1384
1392
|
private _upateNodePortNames;
|
|
@@ -1415,6 +1423,16 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1415
1423
|
private _onUp;
|
|
1416
1424
|
private _onMove;
|
|
1417
1425
|
renderProperties(): BABYLON.Nullable<JSX.Element>;
|
|
1426
|
+
private _forceRebuild;
|
|
1427
|
+
private _isCollapsed;
|
|
1428
|
+
/**
|
|
1429
|
+
* Collapse the node
|
|
1430
|
+
*/
|
|
1431
|
+
collapse(): void;
|
|
1432
|
+
/**
|
|
1433
|
+
* Expand the node
|
|
1434
|
+
*/
|
|
1435
|
+
expand(): void;
|
|
1418
1436
|
appendVisual(root: HTMLDivElement, owner: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphCanvasComponent): void;
|
|
1419
1437
|
dispose(): void;
|
|
1420
1438
|
}
|
|
@@ -1741,6 +1759,23 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1741
1759
|
|
|
1742
1760
|
|
|
1743
1761
|
|
|
1762
|
+
}
|
|
1763
|
+
declare module BABYLON.NodeGeometryEditor {
|
|
1764
|
+
|
|
1765
|
+
|
|
1766
|
+
}
|
|
1767
|
+
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
1768
|
+
/**
|
|
1769
|
+
* Function used to force a rebuild of the node system
|
|
1770
|
+
* @param source source object
|
|
1771
|
+
* @param stateManager defines the state manager to use
|
|
1772
|
+
* @param propertyName name of the property that has been changed
|
|
1773
|
+
* @param notifiers list of notifiers to use
|
|
1774
|
+
*/
|
|
1775
|
+
export function ForceRebuild(source: any, stateManager: BABYLON.NodeGeometryEditor.SharedUIComponents.StateManager, propertyName: string, notifiers?: BABYLON.IEditablePropertyOption["notifiers"]): void;
|
|
1776
|
+
|
|
1777
|
+
|
|
1778
|
+
|
|
1744
1779
|
}
|
|
1745
1780
|
declare module BABYLON.NodeGeometryEditor {
|
|
1746
1781
|
|
|
@@ -1826,6 +1861,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1826
1861
|
blockId: number;
|
|
1827
1862
|
x: number;
|
|
1828
1863
|
y: number;
|
|
1864
|
+
isCollapsed: boolean;
|
|
1829
1865
|
}
|
|
1830
1866
|
export interface IFrameData {
|
|
1831
1867
|
x: number;
|