babylonjs-node-render-graph-editor 7.43.0 → 7.43.2
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.
|
@@ -1566,7 +1566,7 @@ export class StateManager {
|
|
|
1566
1566
|
exportData: (data: any, frame?: Nullable<GraphFrame>) => string;
|
|
1567
1567
|
isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
1568
1568
|
isDebugConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
1569
|
-
applyNodePortDesign: (data: IPortData, element: HTMLElement, imgHost:
|
|
1569
|
+
applyNodePortDesign: (data: IPortData, element: HTMLElement, imgHost: HTMLImageElement, pip: HTMLDivElement) => boolean;
|
|
1570
1570
|
getPortColor: (portData: IPortData) => string;
|
|
1571
1571
|
storeEditorData: (serializationObject: any, frame?: Nullable<GraphFrame>) => void;
|
|
1572
1572
|
getEditorDataMap: () => {
|
|
@@ -1636,7 +1636,7 @@ export class NodePort {
|
|
|
1636
1636
|
node: GraphNode;
|
|
1637
1637
|
protected _element: HTMLDivElement;
|
|
1638
1638
|
protected _portContainer: HTMLElement;
|
|
1639
|
-
protected _imgHost:
|
|
1639
|
+
protected _imgHost: HTMLImageElement;
|
|
1640
1640
|
protected _pip: HTMLDivElement;
|
|
1641
1641
|
protected _stateManager: StateManager;
|
|
1642
1642
|
protected _portLabelElement: Element;
|
|
@@ -2480,6 +2480,31 @@ interface IUnitButtonProps {
|
|
|
2480
2480
|
|
|
2481
2481
|
export {};
|
|
2482
2482
|
|
|
2483
|
+
}
|
|
2484
|
+
declare module "babylonjs-node-render-graph-editor/lines/textureButtonLineComponent" {
|
|
2485
|
+
import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
|
|
2486
|
+
import { Scene } from "babylonjs/scene";
|
|
2487
|
+
import * as React from "react";
|
|
2488
|
+
interface ITextureButtonLineProps {
|
|
2489
|
+
label: string;
|
|
2490
|
+
scene: Scene;
|
|
2491
|
+
onClick: (file: File) => void;
|
|
2492
|
+
onLink: (texture: BaseTexture) => void;
|
|
2493
|
+
accept: string;
|
|
2494
|
+
}
|
|
2495
|
+
interface ITextureButtonLineState {
|
|
2496
|
+
isOpen: boolean;
|
|
2497
|
+
}
|
|
2498
|
+
export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
|
|
2499
|
+
private static _IDGenerator;
|
|
2500
|
+
private _id;
|
|
2501
|
+
private _uploadInputRef;
|
|
2502
|
+
constructor(props: ITextureButtonLineProps);
|
|
2503
|
+
onChange(evt: any): void;
|
|
2504
|
+
|
|
2505
|
+
}
|
|
2506
|
+
export {};
|
|
2507
|
+
|
|
2483
2508
|
}
|
|
2484
2509
|
declare module "babylonjs-node-render-graph-editor/lines/textLineComponent" {
|
|
2485
2510
|
import * as React from "react";
|
|
@@ -5760,7 +5785,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
5760
5785
|
exportData: (data: any, frame?: BABYLON.Nullable<BABYLON.NodeRenderGraphEditor.SharedUIComponents.GraphFrame>) => string;
|
|
5761
5786
|
isElbowConnectionAllowed: (nodeA: BABYLON.NodeRenderGraphEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeRenderGraphEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeRenderGraphEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeRenderGraphEditor.SharedUIComponents.NodePort) => boolean;
|
|
5762
5787
|
isDebugConnectionAllowed: (nodeA: BABYLON.NodeRenderGraphEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeRenderGraphEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeRenderGraphEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeRenderGraphEditor.SharedUIComponents.NodePort) => boolean;
|
|
5763
|
-
applyNodePortDesign: (data: BABYLON.NodeRenderGraphEditor.SharedUIComponents.IPortData, element: HTMLElement, imgHost:
|
|
5788
|
+
applyNodePortDesign: (data: BABYLON.NodeRenderGraphEditor.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLImageElement, pip: HTMLDivElement) => boolean;
|
|
5764
5789
|
getPortColor: (portData: BABYLON.NodeRenderGraphEditor.SharedUIComponents.IPortData) => string;
|
|
5765
5790
|
storeEditorData: (serializationObject: any, frame?: BABYLON.Nullable<BABYLON.NodeRenderGraphEditor.SharedUIComponents.GraphFrame>) => void;
|
|
5766
5791
|
getEditorDataMap: () => {
|
|
@@ -5834,7 +5859,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
5834
5859
|
node: BABYLON.NodeRenderGraphEditor.SharedUIComponents.GraphNode;
|
|
5835
5860
|
protected _element: HTMLDivElement;
|
|
5836
5861
|
protected _portContainer: HTMLElement;
|
|
5837
|
-
protected _imgHost:
|
|
5862
|
+
protected _imgHost: HTMLImageElement;
|
|
5838
5863
|
protected _pip: HTMLDivElement;
|
|
5839
5864
|
protected _stateManager: BABYLON.NodeRenderGraphEditor.SharedUIComponents.StateManager;
|
|
5840
5865
|
protected _portLabelElement: Element;
|
|
@@ -6723,6 +6748,33 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
6723
6748
|
|
|
6724
6749
|
|
|
6725
6750
|
|
|
6751
|
+
}
|
|
6752
|
+
declare module BABYLON.NodeRenderGraphEditor {
|
|
6753
|
+
|
|
6754
|
+
|
|
6755
|
+
}
|
|
6756
|
+
declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
6757
|
+
interface ITextureButtonLineProps {
|
|
6758
|
+
label: string;
|
|
6759
|
+
scene: BABYLON.Scene;
|
|
6760
|
+
onClick: (file: File) => void;
|
|
6761
|
+
onLink: (texture: BABYLON.BaseTexture) => void;
|
|
6762
|
+
accept: string;
|
|
6763
|
+
}
|
|
6764
|
+
interface ITextureButtonLineState {
|
|
6765
|
+
isOpen: boolean;
|
|
6766
|
+
}
|
|
6767
|
+
export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
|
|
6768
|
+
private static _IDGenerator;
|
|
6769
|
+
private _id;
|
|
6770
|
+
private _uploadInputRef;
|
|
6771
|
+
constructor(props: ITextureButtonLineProps);
|
|
6772
|
+
onChange(evt: any): void;
|
|
6773
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
6774
|
+
}
|
|
6775
|
+
|
|
6776
|
+
|
|
6777
|
+
|
|
6726
6778
|
}
|
|
6727
6779
|
declare module BABYLON.NodeRenderGraphEditor {
|
|
6728
6780
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-render-graph-editor",
|
|
3
|
-
"version": "7.43.
|
|
3
|
+
"version": "7.43.2",
|
|
4
4
|
"main": "babylon.nodeRenderGraphEditor.js",
|
|
5
5
|
"types": "babylon.nodeRenderGraphEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.54.
|
|
17
|
+
"babylonjs": "^7.54.2"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|