babylonjs-node-editor 6.16.0 → 6.16.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.
package/babylon.nodeEditor.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ declare module BABYLON.NodeEditor {
|
|
|
20
20
|
export class LogComponent extends React.Component<ILogComponentProps, {
|
|
21
21
|
logs: LogEntry[];
|
|
22
22
|
}> {
|
|
23
|
+
private _logConsoleRef;
|
|
23
24
|
constructor(props: ILogComponentProps);
|
|
24
25
|
componentDidMount(): void;
|
|
25
26
|
componentDidUpdate(): void;
|
|
@@ -343,7 +344,7 @@ declare module BABYLON.NodeEditor {
|
|
|
343
344
|
componentWillUnmount(): void;
|
|
344
345
|
constructor(props: IGraphEditorProps);
|
|
345
346
|
zoomToFit(): void;
|
|
346
|
-
buildMaterial(
|
|
347
|
+
buildMaterial(): void;
|
|
347
348
|
build(ignoreEditorData?: boolean): void;
|
|
348
349
|
loadGraph(): void;
|
|
349
350
|
showWaitScreen(): void;
|
|
@@ -722,9 +723,7 @@ declare module BABYLON.NodeEditor {
|
|
|
722
723
|
nodePort: BABYLON.NodeEditor.SharedUIComponents.NodePort;
|
|
723
724
|
}
|
|
724
725
|
export class NodePortPropertyTabComponent extends React.Component<IFrameNodePortPropertyTabComponentProps> {
|
|
725
|
-
private _onSelectionChangedObserver;
|
|
726
726
|
constructor(props: IFrameNodePortPropertyTabComponentProps);
|
|
727
|
-
componentWillUnmount(): void;
|
|
728
727
|
toggleExposeOnFrame(value: boolean): void;
|
|
729
728
|
render(): JSX.Element;
|
|
730
729
|
}
|
|
@@ -2499,7 +2498,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2499
2498
|
private _store;
|
|
2500
2499
|
constructor(props: IFloatLineComponentProps);
|
|
2501
2500
|
componentWillUnmount(): void;
|
|
2502
|
-
getValueString(value: any): string;
|
|
2501
|
+
getValueString(value: any, props: IFloatLineComponentProps): string;
|
|
2503
2502
|
shouldComponentUpdate(nextProps: IFloatLineComponentProps, nextState: {
|
|
2504
2503
|
value: string;
|
|
2505
2504
|
dragging: boolean;
|
|
@@ -3484,6 +3483,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
3484
3483
|
private _outputsContainer;
|
|
3485
3484
|
private _content;
|
|
3486
3485
|
private _comments;
|
|
3486
|
+
private _executionTime;
|
|
3487
3487
|
private _selectionBorder;
|
|
3488
3488
|
private _inputPorts;
|
|
3489
3489
|
private _outputPorts;
|
|
@@ -3592,6 +3592,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
3592
3592
|
uniqueId: number;
|
|
3593
3593
|
isInput: boolean;
|
|
3594
3594
|
comments: string;
|
|
3595
|
+
executionTime?: number;
|
|
3596
|
+
refreshCallback?: () => void;
|
|
3595
3597
|
prepareHeaderIcon: (iconDiv: HTMLDivElement, img: HTMLImageElement) => void;
|
|
3596
3598
|
getClassName: () => string;
|
|
3597
3599
|
dispose: () => void;
|
|
@@ -3599,6 +3601,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
3599
3601
|
inputs: BABYLON.NodeEditor.SharedUIComponents.IPortData[];
|
|
3600
3602
|
outputs: BABYLON.NodeEditor.SharedUIComponents.IPortData[];
|
|
3601
3603
|
invisibleEndpoints?: BABYLON.Nullable<any[]>;
|
|
3604
|
+
isConnectedToOutput?: () => boolean;
|
|
3602
3605
|
}
|
|
3603
3606
|
|
|
3604
3607
|
|
|
@@ -3842,7 +3845,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
3842
3845
|
onCandidateLinkMoved: BABYLON.Observable<BABYLON.Nullable<BABYLON.Vector2>>;
|
|
3843
3846
|
onCandidatePortSelectedObservable: BABYLON.Observable<BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort>>;
|
|
3844
3847
|
onNewNodeCreatedObservable: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.GraphNode>;
|
|
3845
|
-
onRebuildRequiredObservable: BABYLON.Observable<
|
|
3848
|
+
onRebuildRequiredObservable: BABYLON.Observable<void>;
|
|
3846
3849
|
onErrorMessageDialogRequiredObservable: BABYLON.Observable<string>;
|
|
3847
3850
|
onExposePortOnFrameObservable: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.GraphNode>;
|
|
3848
3851
|
onGridSizeChanged: BABYLON.Observable<void>;
|