babylonjs-node-editor 7.32.5 → 7.34.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.nodeEditor.d.ts +21 -6
- package/babylon.nodeEditor.js +1 -1
- package/babylon.nodeEditor.js.map +1 -1
- package/babylon.nodeEditor.max.js +207 -41
- package/babylon.nodeEditor.module.d.ts +42 -12
- package/package.json +2 -2
package/babylon.nodeEditor.d.ts
CHANGED
|
@@ -291,7 +291,7 @@ declare module BABYLON.NodeEditor {
|
|
|
291
291
|
canConnectTo(port: BABYLON.NodeEditor.SharedUIComponents.IPortData): boolean;
|
|
292
292
|
disconnectFrom(port: BABYLON.NodeEditor.SharedUIComponents.IPortData): void;
|
|
293
293
|
checkCompatibilityState(port: BABYLON.NodeEditor.SharedUIComponents.IPortData): 0 | BABYLON.NodeMaterialConnectionPointCompatibilityStates.TypeIncompatible | BABYLON.NodeMaterialConnectionPointCompatibilityStates.TargetIncompatible | BABYLON.NodeMaterialConnectionPointCompatibilityStates.HierarchyIssue;
|
|
294
|
-
getCompatibilityIssueMessage(issue: number, targetNode: BABYLON.NodeEditor.SharedUIComponents.GraphNode, targetPort: BABYLON.NodeEditor.SharedUIComponents.IPortData):
|
|
294
|
+
getCompatibilityIssueMessage(issue: number, targetNode: BABYLON.NodeEditor.SharedUIComponents.GraphNode, targetPort: BABYLON.NodeEditor.SharedUIComponents.IPortData): string;
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
|
|
@@ -791,11 +791,11 @@ declare module BABYLON.NodeEditor {
|
|
|
791
791
|
Rain = 9,
|
|
792
792
|
Explosion = 10,
|
|
793
793
|
Fire = 11,
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
794
|
+
Parrot = 12,
|
|
795
|
+
BricksSkull = 13,
|
|
796
|
+
Plants = 14,
|
|
797
|
+
Custom = 15,
|
|
798
|
+
Room = 16
|
|
799
799
|
}
|
|
800
800
|
|
|
801
801
|
|
|
@@ -1497,6 +1497,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1497
1497
|
portData: BABYLON.NodeEditor.SharedUIComponents.IPortData;
|
|
1498
1498
|
node: BABYLON.NodeEditor.SharedUIComponents.GraphNode;
|
|
1499
1499
|
protected _element: HTMLDivElement;
|
|
1500
|
+
protected _portContainer: HTMLElement;
|
|
1500
1501
|
protected _img: HTMLImageElement;
|
|
1501
1502
|
protected _pip: HTMLDivElement;
|
|
1502
1503
|
protected _stateManager: BABYLON.NodeEditor.SharedUIComponents.StateManager;
|
|
@@ -1506,6 +1507,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1506
1507
|
protected _exposedOnFrame: boolean;
|
|
1507
1508
|
delegatedPort: BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.FrameNodePort>;
|
|
1508
1509
|
get element(): HTMLDivElement;
|
|
1510
|
+
get container(): HTMLElement;
|
|
1509
1511
|
get portName(): string;
|
|
1510
1512
|
set portName(newName: string);
|
|
1511
1513
|
get disabled(): boolean;
|
|
@@ -1586,7 +1588,9 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1586
1588
|
private _headerContainer;
|
|
1587
1589
|
private _headerIcon;
|
|
1588
1590
|
private _headerIconImg;
|
|
1591
|
+
private _headerCollapseImg;
|
|
1589
1592
|
private _header;
|
|
1593
|
+
private _headerCollapse;
|
|
1590
1594
|
private _connections;
|
|
1591
1595
|
private _optionsContainer;
|
|
1592
1596
|
private _inputsContainer;
|
|
@@ -1618,6 +1622,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1618
1622
|
private _visualPropertiesRefresh;
|
|
1619
1623
|
addClassToVisual(className: string): void;
|
|
1620
1624
|
removeClassFromVisual(className: string): void;
|
|
1625
|
+
get isCollapsed(): boolean;
|
|
1621
1626
|
get isVisible(): boolean;
|
|
1622
1627
|
set isVisible(value: boolean);
|
|
1623
1628
|
private _upateNodePortNames;
|
|
@@ -1655,6 +1660,15 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1655
1660
|
private _onMove;
|
|
1656
1661
|
renderProperties(): BABYLON.Nullable<JSX.Element>;
|
|
1657
1662
|
private _forceRebuild;
|
|
1663
|
+
private _isCollapsed;
|
|
1664
|
+
/**
|
|
1665
|
+
* Collapse the node
|
|
1666
|
+
*/
|
|
1667
|
+
collapse(): void;
|
|
1668
|
+
/**
|
|
1669
|
+
* Expand the node
|
|
1670
|
+
*/
|
|
1671
|
+
expand(): void;
|
|
1658
1672
|
appendVisual(root: HTMLDivElement, owner: BABYLON.NodeEditor.SharedUIComponents.GraphCanvasComponent): void;
|
|
1659
1673
|
dispose(): void;
|
|
1660
1674
|
}
|
|
@@ -2083,6 +2097,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2083
2097
|
blockId: number;
|
|
2084
2098
|
x: number;
|
|
2085
2099
|
y: number;
|
|
2100
|
+
isCollapsed: boolean;
|
|
2086
2101
|
}
|
|
2087
2102
|
export interface IFrameData {
|
|
2088
2103
|
x: number;
|