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.
|
@@ -1402,7 +1402,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
1402
1402
|
exportData: (data: any, frame?: BABYLON.Nullable<BABYLON.NodeRenderGraphEditor.SharedUIComponents.GraphFrame>) => string;
|
|
1403
1403
|
isElbowConnectionAllowed: (nodeA: BABYLON.NodeRenderGraphEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeRenderGraphEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeRenderGraphEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeRenderGraphEditor.SharedUIComponents.NodePort) => boolean;
|
|
1404
1404
|
isDebugConnectionAllowed: (nodeA: BABYLON.NodeRenderGraphEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeRenderGraphEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeRenderGraphEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeRenderGraphEditor.SharedUIComponents.NodePort) => boolean;
|
|
1405
|
-
applyNodePortDesign: (data: BABYLON.NodeRenderGraphEditor.SharedUIComponents.IPortData, element: HTMLElement, imgHost:
|
|
1405
|
+
applyNodePortDesign: (data: BABYLON.NodeRenderGraphEditor.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLImageElement, pip: HTMLDivElement) => boolean;
|
|
1406
1406
|
getPortColor: (portData: BABYLON.NodeRenderGraphEditor.SharedUIComponents.IPortData) => string;
|
|
1407
1407
|
storeEditorData: (serializationObject: any, frame?: BABYLON.Nullable<BABYLON.NodeRenderGraphEditor.SharedUIComponents.GraphFrame>) => void;
|
|
1408
1408
|
getEditorDataMap: () => {
|
|
@@ -1476,7 +1476,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
1476
1476
|
node: BABYLON.NodeRenderGraphEditor.SharedUIComponents.GraphNode;
|
|
1477
1477
|
protected _element: HTMLDivElement;
|
|
1478
1478
|
protected _portContainer: HTMLElement;
|
|
1479
|
-
protected _imgHost:
|
|
1479
|
+
protected _imgHost: HTMLImageElement;
|
|
1480
1480
|
protected _pip: HTMLDivElement;
|
|
1481
1481
|
protected _stateManager: BABYLON.NodeRenderGraphEditor.SharedUIComponents.StateManager;
|
|
1482
1482
|
protected _portLabelElement: Element;
|
|
@@ -2365,6 +2365,33 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
2365
2365
|
|
|
2366
2366
|
|
|
2367
2367
|
|
|
2368
|
+
}
|
|
2369
|
+
declare module BABYLON.NodeRenderGraphEditor {
|
|
2370
|
+
|
|
2371
|
+
|
|
2372
|
+
}
|
|
2373
|
+
declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
2374
|
+
interface ITextureButtonLineProps {
|
|
2375
|
+
label: string;
|
|
2376
|
+
scene: BABYLON.Scene;
|
|
2377
|
+
onClick: (file: File) => void;
|
|
2378
|
+
onLink: (texture: BABYLON.BaseTexture) => void;
|
|
2379
|
+
accept: string;
|
|
2380
|
+
}
|
|
2381
|
+
interface ITextureButtonLineState {
|
|
2382
|
+
isOpen: boolean;
|
|
2383
|
+
}
|
|
2384
|
+
export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
|
|
2385
|
+
private static _IDGenerator;
|
|
2386
|
+
private _id;
|
|
2387
|
+
private _uploadInputRef;
|
|
2388
|
+
constructor(props: ITextureButtonLineProps);
|
|
2389
|
+
onChange(evt: any): void;
|
|
2390
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
|
|
2394
|
+
|
|
2368
2395
|
}
|
|
2369
2396
|
declare module BABYLON.NodeRenderGraphEditor {
|
|
2370
2397
|
|