babylonjs-node-geometry-editor 7.53.3 → 7.54.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.
|
@@ -1360,7 +1360,17 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
1360
1360
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
1361
1361
|
export const IsFramePortData: (variableToCheck: any) => variableToCheck is BABYLON.NodeGeometryEditor.SharedUIComponents.FramePortData;
|
|
1362
1362
|
export const RefreshNode: (node: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode, visitedNodes?: Set<BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode>, visitedLinks?: Set<BABYLON.NodeGeometryEditor.SharedUIComponents.NodeLink>, canvas?: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphCanvasComponent) => void;
|
|
1363
|
-
export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void
|
|
1363
|
+
export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void>, additionalClassName?: string) => void;
|
|
1364
|
+
export function GetListOfAcceptedTypes<T extends Record<string, string | number>>(types: T, allValue: number, autoDetectValue: number, port: {
|
|
1365
|
+
acceptedConnectionPointTypes: number[];
|
|
1366
|
+
excludedConnectionPointTypes: number[];
|
|
1367
|
+
type: number;
|
|
1368
|
+
}, skips?: number[]): string[];
|
|
1369
|
+
export function GetConnectionErrorMessage<T extends Record<string, string | number>>(sourceType: number, types: T, allValue: number, autoDetectValue: number, port: {
|
|
1370
|
+
acceptedConnectionPointTypes: number[];
|
|
1371
|
+
excludedConnectionPointTypes: number[];
|
|
1372
|
+
type: number;
|
|
1373
|
+
}, skips?: number[]): string;
|
|
1364
1374
|
|
|
1365
1375
|
|
|
1366
1376
|
|
|
@@ -1408,7 +1418,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1408
1418
|
exportData: (data: any, frame?: BABYLON.Nullable<BABYLON.NodeGeometryEditor.SharedUIComponents.GraphFrame>) => string;
|
|
1409
1419
|
isElbowConnectionAllowed: (nodeA: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort) => boolean;
|
|
1410
1420
|
isDebugConnectionAllowed: (nodeA: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort) => boolean;
|
|
1411
|
-
applyNodePortDesign: (data: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData, element: HTMLElement,
|
|
1421
|
+
applyNodePortDesign: (data: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLDivElement, pip: HTMLDivElement) => boolean;
|
|
1412
1422
|
getPortColor: (portData: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData) => string;
|
|
1413
1423
|
storeEditorData: (serializationObject: any, frame?: BABYLON.Nullable<BABYLON.NodeGeometryEditor.SharedUIComponents.GraphFrame>) => void;
|
|
1414
1424
|
getEditorDataMap: () => {
|
|
@@ -1482,7 +1492,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
1482
1492
|
node: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode;
|
|
1483
1493
|
protected _element: HTMLDivElement;
|
|
1484
1494
|
protected _portContainer: HTMLElement;
|
|
1485
|
-
protected
|
|
1495
|
+
protected _imgHost: HTMLDivElement;
|
|
1486
1496
|
protected _pip: HTMLDivElement;
|
|
1487
1497
|
protected _stateManager: BABYLON.NodeGeometryEditor.SharedUIComponents.StateManager;
|
|
1488
1498
|
protected _portLabelElement: Element;
|
|
@@ -1569,6 +1579,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
1569
1579
|
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
1570
1580
|
export class GraphNode {
|
|
1571
1581
|
content: BABYLON.NodeGeometryEditor.SharedUIComponents.INodeData;
|
|
1582
|
+
private static _IdGenerator;
|
|
1572
1583
|
private _visual;
|
|
1573
1584
|
private _headerContainer;
|
|
1574
1585
|
private _headerIcon;
|