babylonjs-node-editor 7.53.3 → 7.54.1
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 +41 -3
- package/babylon.nodeEditor.js +1 -1
- package/babylon.nodeEditor.js.map +1 -1
- package/babylon.nodeEditor.max.js +152 -76
- package/babylon.nodeEditor.module.d.ts +80 -6
- package/package.json +2 -2
package/babylon.nodeEditor.d.ts
CHANGED
|
@@ -1605,7 +1605,17 @@ declare module BABYLON.NodeEditor {
|
|
|
1605
1605
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
1606
1606
|
export const IsFramePortData: (variableToCheck: any) => variableToCheck is BABYLON.NodeEditor.SharedUIComponents.FramePortData;
|
|
1607
1607
|
export const RefreshNode: (node: BABYLON.NodeEditor.SharedUIComponents.GraphNode, visitedNodes?: Set<BABYLON.NodeEditor.SharedUIComponents.GraphNode>, visitedLinks?: Set<BABYLON.NodeEditor.SharedUIComponents.NodeLink>, canvas?: BABYLON.NodeEditor.SharedUIComponents.GraphCanvasComponent) => void;
|
|
1608
|
-
export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void
|
|
1608
|
+
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;
|
|
1609
|
+
export function GetListOfAcceptedTypes<T extends Record<string, string | number>>(types: T, allValue: number, autoDetectValue: number, port: {
|
|
1610
|
+
acceptedConnectionPointTypes: number[];
|
|
1611
|
+
excludedConnectionPointTypes: number[];
|
|
1612
|
+
type: number;
|
|
1613
|
+
}, skips?: number[]): string[];
|
|
1614
|
+
export function GetConnectionErrorMessage<T extends Record<string, string | number>>(sourceType: number, types: T, allValue: number, autoDetectValue: number, port: {
|
|
1615
|
+
acceptedConnectionPointTypes: number[];
|
|
1616
|
+
excludedConnectionPointTypes: number[];
|
|
1617
|
+
type: number;
|
|
1618
|
+
}, skips?: number[]): string;
|
|
1609
1619
|
|
|
1610
1620
|
|
|
1611
1621
|
|
|
@@ -1653,7 +1663,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1653
1663
|
exportData: (data: any, frame?: BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.GraphFrame>) => string;
|
|
1654
1664
|
isElbowConnectionAllowed: (nodeA: BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort) => boolean;
|
|
1655
1665
|
isDebugConnectionAllowed: (nodeA: BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort) => boolean;
|
|
1656
|
-
applyNodePortDesign: (data: BABYLON.NodeEditor.SharedUIComponents.IPortData, element: HTMLElement,
|
|
1666
|
+
applyNodePortDesign: (data: BABYLON.NodeEditor.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLDivElement, pip: HTMLDivElement) => boolean;
|
|
1657
1667
|
getPortColor: (portData: BABYLON.NodeEditor.SharedUIComponents.IPortData) => string;
|
|
1658
1668
|
storeEditorData: (serializationObject: any, frame?: BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.GraphFrame>) => void;
|
|
1659
1669
|
getEditorDataMap: () => {
|
|
@@ -1727,7 +1737,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1727
1737
|
node: BABYLON.NodeEditor.SharedUIComponents.GraphNode;
|
|
1728
1738
|
protected _element: HTMLDivElement;
|
|
1729
1739
|
protected _portContainer: HTMLElement;
|
|
1730
|
-
protected
|
|
1740
|
+
protected _imgHost: HTMLDivElement;
|
|
1731
1741
|
protected _pip: HTMLDivElement;
|
|
1732
1742
|
protected _stateManager: BABYLON.NodeEditor.SharedUIComponents.StateManager;
|
|
1733
1743
|
protected _portLabelElement: Element;
|
|
@@ -1814,6 +1824,7 @@ declare module BABYLON.NodeEditor {
|
|
|
1814
1824
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
1815
1825
|
export class GraphNode {
|
|
1816
1826
|
content: BABYLON.NodeEditor.SharedUIComponents.INodeData;
|
|
1827
|
+
private static _IdGenerator;
|
|
1817
1828
|
private _visual;
|
|
1818
1829
|
private _headerContainer;
|
|
1819
1830
|
private _headerIcon;
|
|
@@ -2615,6 +2626,33 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2615
2626
|
|
|
2616
2627
|
|
|
2617
2628
|
|
|
2629
|
+
}
|
|
2630
|
+
declare module BABYLON.NodeEditor {
|
|
2631
|
+
|
|
2632
|
+
|
|
2633
|
+
}
|
|
2634
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
2635
|
+
interface ITextureButtonLineProps {
|
|
2636
|
+
label: string;
|
|
2637
|
+
scene: BABYLON.Scene;
|
|
2638
|
+
onClick: (file: File) => void;
|
|
2639
|
+
onLink: (texture: BABYLON.BaseTexture) => void;
|
|
2640
|
+
accept: string;
|
|
2641
|
+
}
|
|
2642
|
+
interface ITextureButtonLineState {
|
|
2643
|
+
isOpen: boolean;
|
|
2644
|
+
}
|
|
2645
|
+
export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
|
|
2646
|
+
private static _IDGenerator;
|
|
2647
|
+
private _id;
|
|
2648
|
+
private _uploadInputRef;
|
|
2649
|
+
constructor(props: ITextureButtonLineProps);
|
|
2650
|
+
onChange(evt: any): void;
|
|
2651
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
2652
|
+
}
|
|
2653
|
+
|
|
2654
|
+
|
|
2655
|
+
|
|
2618
2656
|
}
|
|
2619
2657
|
declare module BABYLON.NodeEditor {
|
|
2620
2658
|
|