babylonjs-node-editor 5.13.3 → 5.14.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.
- package/babylon.nodeEditor.d.ts +33 -96
- package/babylon.nodeEditor.js +1 -1
- package/babylon.nodeEditor.js.map +1 -1
- package/babylon.nodeEditor.max.js +539 -707
- package/babylon.nodeEditor.max.js.map +1 -1
- package/babylon.nodeEditor.module.d.ts +83 -208
- package/package.json +2 -2
package/babylon.nodeEditor.d.ts
CHANGED
|
@@ -140,6 +140,7 @@ declare module BABYLON.NodeEditor {
|
|
|
140
140
|
interface IInputsPropertyTabComponentProps {
|
|
141
141
|
globalState: GlobalState;
|
|
142
142
|
inputs: BABYLON.InputBlock[];
|
|
143
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
143
144
|
}
|
|
144
145
|
export class InputsPropertyTabComponent extends React.Component<IInputsPropertyTabComponentProps> {
|
|
145
146
|
constructor(props: IInputsPropertyTabComponentProps);
|
|
@@ -152,6 +153,7 @@ declare module BABYLON.NodeEditor {
|
|
|
152
153
|
interface IColor3PropertyTabComponentProps {
|
|
153
154
|
globalState: GlobalState;
|
|
154
155
|
inputBlock: BABYLON.InputBlock;
|
|
156
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
155
157
|
}
|
|
156
158
|
export class Color3PropertyTabComponent extends React.Component<IColor3PropertyTabComponentProps> {
|
|
157
159
|
render(): JSX.Element;
|
|
@@ -161,6 +163,7 @@ declare module BABYLON.NodeEditor {
|
|
|
161
163
|
interface IColor4PropertyTabComponentProps {
|
|
162
164
|
globalState: GlobalState;
|
|
163
165
|
inputBlock: BABYLON.InputBlock;
|
|
166
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
164
167
|
}
|
|
165
168
|
export class Color4PropertyTabComponent extends React.Component<IColor4PropertyTabComponentProps> {
|
|
166
169
|
render(): JSX.Element;
|
|
@@ -179,6 +182,7 @@ declare module BABYLON.NodeEditor {
|
|
|
179
182
|
interface IMatrixPropertyTabComponentProps {
|
|
180
183
|
globalState: GlobalState;
|
|
181
184
|
inputBlock: BABYLON.InputBlock;
|
|
185
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
182
186
|
}
|
|
183
187
|
export class MatrixPropertyTabComponent extends React.Component<IMatrixPropertyTabComponentProps> {
|
|
184
188
|
render(): JSX.Element;
|
|
@@ -188,6 +192,7 @@ declare module BABYLON.NodeEditor {
|
|
|
188
192
|
interface IVector2PropertyTabComponentProps {
|
|
189
193
|
globalState: GlobalState;
|
|
190
194
|
inputBlock: BABYLON.InputBlock;
|
|
195
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
191
196
|
}
|
|
192
197
|
export class Vector2PropertyTabComponent extends React.Component<IVector2PropertyTabComponentProps> {
|
|
193
198
|
render(): JSX.Element;
|
|
@@ -197,6 +202,7 @@ declare module BABYLON.NodeEditor {
|
|
|
197
202
|
interface IVector3PropertyTabComponentProps {
|
|
198
203
|
globalState: GlobalState;
|
|
199
204
|
inputBlock: BABYLON.InputBlock;
|
|
205
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
200
206
|
}
|
|
201
207
|
export class Vector3PropertyTabComponent extends React.Component<IVector3PropertyTabComponentProps> {
|
|
202
208
|
render(): JSX.Element;
|
|
@@ -206,6 +212,7 @@ declare module BABYLON.NodeEditor {
|
|
|
206
212
|
interface IVector4PropertyTabComponentProps {
|
|
207
213
|
globalState: GlobalState;
|
|
208
214
|
inputBlock: BABYLON.InputBlock;
|
|
215
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
209
216
|
}
|
|
210
217
|
export class Vector4PropertyTabComponent extends React.Component<IVector4PropertyTabComponentProps> {
|
|
211
218
|
render(): JSX.Element;
|
|
@@ -214,6 +221,7 @@ declare module BABYLON.NodeEditor {
|
|
|
214
221
|
|
|
215
222
|
interface IPropertyTabComponentProps {
|
|
216
223
|
globalState: GlobalState;
|
|
224
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
217
225
|
}
|
|
218
226
|
interface IPropertyTabComponentState {
|
|
219
227
|
currentNode: BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.GraphNode>;
|
|
@@ -303,7 +311,6 @@ declare module BABYLON.NodeEditor {
|
|
|
303
311
|
embedHostWidth?: string;
|
|
304
312
|
}
|
|
305
313
|
export class GraphEditor extends React.Component<IGraphEditorProps, IGraphEditorState> {
|
|
306
|
-
static readonly NodeWidth = 100;
|
|
307
314
|
private _graphCanvasRef;
|
|
308
315
|
private _diagramContainerRef;
|
|
309
316
|
private _graphCanvas;
|
|
@@ -313,8 +320,6 @@ declare module BABYLON.NodeEditor {
|
|
|
313
320
|
private _leftWidth;
|
|
314
321
|
private _rightWidth;
|
|
315
322
|
private _previewManager;
|
|
316
|
-
private _copiedNodes;
|
|
317
|
-
private _copiedFrames;
|
|
318
323
|
private _mouseLocationX;
|
|
319
324
|
private _mouseLocationY;
|
|
320
325
|
private _onWidgetKeyUpPointer;
|
|
@@ -325,8 +330,6 @@ declare module BABYLON.NodeEditor {
|
|
|
325
330
|
componentDidMount(): void;
|
|
326
331
|
componentWillUnmount(): void;
|
|
327
332
|
constructor(props: IGraphEditorProps);
|
|
328
|
-
reconnectNewNodes(nodeIndex: number, newNodes: BABYLON.NodeEditor.SharedUIComponents.GraphNode[], sourceNodes: BABYLON.NodeEditor.SharedUIComponents.GraphNode[], done: boolean[]): void;
|
|
329
|
-
pasteSelection(copiedNodes: BABYLON.NodeEditor.SharedUIComponents.GraphNode[], currentX: number, currentY: number, selectNew?: boolean): BABYLON.NodeEditor.SharedUIComponents.GraphNode[] | undefined;
|
|
330
333
|
zoomToFit(): void;
|
|
331
334
|
buildMaterial(autoConfigure?: boolean): void;
|
|
332
335
|
build(ignoreEditorData?: boolean): void;
|
|
@@ -782,7 +785,7 @@ declare module BABYLON.NodeEditor {
|
|
|
782
785
|
isSelected?: () => boolean;
|
|
783
786
|
onSelect?: (value: boolean) => void;
|
|
784
787
|
onValueChanged?: () => void;
|
|
785
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
788
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
786
789
|
disabled?: boolean;
|
|
787
790
|
}
|
|
788
791
|
export class CheckBoxLineComponent extends React.Component<ICheckBoxLineComponentProps, {
|
|
@@ -863,40 +866,6 @@ declare module BABYLON.NodeEditor {
|
|
|
863
866
|
}
|
|
864
867
|
|
|
865
868
|
|
|
866
|
-
interface IFloatLineComponentProps {
|
|
867
|
-
label: string;
|
|
868
|
-
target: any;
|
|
869
|
-
propertyName: string;
|
|
870
|
-
onChange?: (newValue: number) => void;
|
|
871
|
-
isInteger?: boolean;
|
|
872
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
873
|
-
additionalClass?: string;
|
|
874
|
-
step?: string;
|
|
875
|
-
digits?: number;
|
|
876
|
-
globalState: GlobalState;
|
|
877
|
-
min?: number;
|
|
878
|
-
max?: number;
|
|
879
|
-
smallUI?: boolean;
|
|
880
|
-
onEnter?: (newValue: number) => void;
|
|
881
|
-
}
|
|
882
|
-
export class FloatLineComponent extends React.Component<IFloatLineComponentProps, {
|
|
883
|
-
value: string;
|
|
884
|
-
}> {
|
|
885
|
-
private _localChange;
|
|
886
|
-
private _store;
|
|
887
|
-
private _regExp;
|
|
888
|
-
private _onFocus;
|
|
889
|
-
constructor(props: IFloatLineComponentProps);
|
|
890
|
-
shouldComponentUpdate(nextProps: IFloatLineComponentProps, nextState: {
|
|
891
|
-
value: string;
|
|
892
|
-
}): boolean;
|
|
893
|
-
componentWillUnmount(): void;
|
|
894
|
-
raiseOnPropertyChanged(newValue: number, previousValue: number): void;
|
|
895
|
-
updateValue(valueString: string): void;
|
|
896
|
-
render(): JSX.Element;
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
|
|
900
869
|
interface ILineContainerComponentProps {
|
|
901
870
|
title: string;
|
|
902
871
|
children: any[] | any;
|
|
@@ -973,59 +942,6 @@ declare module BABYLON.NodeEditor {
|
|
|
973
942
|
}
|
|
974
943
|
|
|
975
944
|
|
|
976
|
-
export class PropertyChangedEvent {
|
|
977
|
-
object: any;
|
|
978
|
-
property: string;
|
|
979
|
-
value: any;
|
|
980
|
-
initialValue: any;
|
|
981
|
-
}
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
interface ISliderLineComponentProps {
|
|
985
|
-
label: string;
|
|
986
|
-
target?: any;
|
|
987
|
-
propertyName?: string;
|
|
988
|
-
minimum: number;
|
|
989
|
-
maximum: number;
|
|
990
|
-
step: number;
|
|
991
|
-
directValue?: number;
|
|
992
|
-
useEuler?: boolean;
|
|
993
|
-
onChange?: (value: number) => void;
|
|
994
|
-
onInput?: (value: number) => void;
|
|
995
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
996
|
-
decimalCount?: number;
|
|
997
|
-
globalState: GlobalState;
|
|
998
|
-
}
|
|
999
|
-
export class SliderLineComponent extends React.Component<ISliderLineComponentProps, {
|
|
1000
|
-
value: number;
|
|
1001
|
-
}> {
|
|
1002
|
-
private _localChange;
|
|
1003
|
-
constructor(props: ISliderLineComponentProps);
|
|
1004
|
-
shouldComponentUpdate(nextProps: ISliderLineComponentProps, nextState: {
|
|
1005
|
-
value: number;
|
|
1006
|
-
}): boolean;
|
|
1007
|
-
onChange(newValueString: any): void;
|
|
1008
|
-
onInput(newValueString: any): void;
|
|
1009
|
-
prepareDataToRead(value: number): number;
|
|
1010
|
-
render(): JSX.Element;
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
interface ITextLineComponentProps {
|
|
1015
|
-
label: string;
|
|
1016
|
-
value: string;
|
|
1017
|
-
color?: string;
|
|
1018
|
-
underline?: boolean;
|
|
1019
|
-
onLink?: () => void;
|
|
1020
|
-
}
|
|
1021
|
-
export class TextLineComponent extends React.Component<ITextLineComponentProps> {
|
|
1022
|
-
constructor(props: ITextLineComponentProps);
|
|
1023
|
-
onLink(): void;
|
|
1024
|
-
renderContent(): JSX.Element;
|
|
1025
|
-
render(): JSX.Element;
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
945
|
interface ITextureLineComponentProps {
|
|
1030
946
|
texture: BABYLON.BaseTexture;
|
|
1031
947
|
width: number;
|
|
@@ -1062,10 +978,13 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1062
978
|
min?: number;
|
|
1063
979
|
onChange: (value: number) => void;
|
|
1064
980
|
disabled?: boolean;
|
|
981
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
1065
982
|
}
|
|
1066
983
|
export class ColorComponentEntry extends React.Component<IColorComponentEntryProps> {
|
|
1067
984
|
constructor(props: IColorComponentEntryProps);
|
|
1068
985
|
updateValue(valueString: string): void;
|
|
986
|
+
lock(): void;
|
|
987
|
+
unlock(): void;
|
|
1069
988
|
render(): JSX.Element;
|
|
1070
989
|
}
|
|
1071
990
|
|
|
@@ -1084,6 +1003,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1084
1003
|
linearhint?: boolean;
|
|
1085
1004
|
debugMode?: boolean;
|
|
1086
1005
|
onColorChanged?: (color: BABYLON.Color3 | BABYLON.Color4) => void;
|
|
1006
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
1087
1007
|
}
|
|
1088
1008
|
/**
|
|
1089
1009
|
* Interface used to specify creation options for color picker
|
|
@@ -1126,6 +1046,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1126
1046
|
value: string;
|
|
1127
1047
|
expectedLength: number;
|
|
1128
1048
|
onChange: (value: string) => void;
|
|
1049
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
1129
1050
|
}
|
|
1130
1051
|
export class HexColor extends React.Component<IHexColorProps, {
|
|
1131
1052
|
hex: string;
|
|
@@ -1134,6 +1055,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1134
1055
|
shouldComponentUpdate(nextProps: IHexColorProps, nextState: {
|
|
1135
1056
|
hex: string;
|
|
1136
1057
|
}): boolean;
|
|
1058
|
+
lock(): void;
|
|
1059
|
+
unlock(): void;
|
|
1137
1060
|
updateHexValue(valueString: string): void;
|
|
1138
1061
|
render(): JSX.Element;
|
|
1139
1062
|
}
|
|
@@ -1300,7 +1223,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1300
1223
|
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1301
1224
|
isLinear?: boolean;
|
|
1302
1225
|
icon?: string;
|
|
1303
|
-
lockObject
|
|
1226
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
1304
1227
|
iconLabel?: string;
|
|
1305
1228
|
onChange?: () => void;
|
|
1306
1229
|
}
|
|
@@ -1324,7 +1247,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1324
1247
|
isLinear?: boolean;
|
|
1325
1248
|
icon?: string;
|
|
1326
1249
|
iconLabel?: string;
|
|
1327
|
-
lockObject
|
|
1250
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
1328
1251
|
}
|
|
1329
1252
|
export class Color4LineComponent extends React.Component<IColor4LineComponentProps> {
|
|
1330
1253
|
render(): JSX.Element;
|
|
@@ -1346,8 +1269,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1346
1269
|
isLinear?: boolean;
|
|
1347
1270
|
icon?: string;
|
|
1348
1271
|
iconLabel?: string;
|
|
1349
|
-
lockObject?: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
1350
1272
|
disableAlpha?: boolean;
|
|
1273
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
1351
1274
|
}
|
|
1352
1275
|
interface IColorLineComponentState {
|
|
1353
1276
|
isExpanded: boolean;
|
|
@@ -1386,6 +1309,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1386
1309
|
icon?: string;
|
|
1387
1310
|
iconLabel?: string;
|
|
1388
1311
|
shouldPopRight?: boolean;
|
|
1312
|
+
lockObject?: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
1389
1313
|
}
|
|
1390
1314
|
interface IColorPickerComponentState {
|
|
1391
1315
|
pickerEnabled: boolean;
|
|
@@ -1711,6 +1635,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1711
1635
|
onModeChange?: (mode: number) => void;
|
|
1712
1636
|
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1713
1637
|
mode?: number;
|
|
1638
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
1714
1639
|
}
|
|
1715
1640
|
export class MatrixLineComponent extends React.Component<IMatrixLineComponentProps, {
|
|
1716
1641
|
value: BABYLON.Matrix;
|
|
@@ -1763,6 +1688,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1763
1688
|
precision?: number;
|
|
1764
1689
|
icon?: string;
|
|
1765
1690
|
iconLabel?: string;
|
|
1691
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
1766
1692
|
}
|
|
1767
1693
|
export class NumericInputComponent extends React.Component<INumericInputComponentProps, {
|
|
1768
1694
|
value: string;
|
|
@@ -1772,6 +1698,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1772
1698
|
};
|
|
1773
1699
|
private _localChange;
|
|
1774
1700
|
constructor(props: INumericInputComponentProps);
|
|
1701
|
+
componentWillUnmount(): void;
|
|
1775
1702
|
shouldComponentUpdate(nextProps: INumericInputComponentProps, nextState: {
|
|
1776
1703
|
value: string;
|
|
1777
1704
|
}): boolean;
|
|
@@ -2046,6 +1973,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2046
1973
|
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2047
1974
|
icon?: string;
|
|
2048
1975
|
iconLabel?: string;
|
|
1976
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
2049
1977
|
}
|
|
2050
1978
|
export class Vector2LineComponent extends React.Component<IVector2LineComponentProps, {
|
|
2051
1979
|
isExpanded: boolean;
|
|
@@ -2085,6 +2013,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2085
2013
|
noSlider?: boolean;
|
|
2086
2014
|
icon?: string;
|
|
2087
2015
|
iconLabel?: string;
|
|
2016
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
2088
2017
|
}
|
|
2089
2018
|
export class Vector3LineComponent extends React.Component<IVector3LineComponentProps, {
|
|
2090
2019
|
isExpanded: boolean;
|
|
@@ -2127,6 +2056,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2127
2056
|
icon?: string;
|
|
2128
2057
|
iconLabel?: string;
|
|
2129
2058
|
value?: BABYLON.Vector4;
|
|
2059
|
+
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
2130
2060
|
}
|
|
2131
2061
|
export class Vector4LineComponent extends React.Component<IVector4LineComponentProps, {
|
|
2132
2062
|
isExpanded: boolean;
|
|
@@ -2202,6 +2132,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2202
2132
|
onEmitNewNode: (nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData) => BABYLON.NodeEditor.SharedUIComponents.GraphNode;
|
|
2203
2133
|
}
|
|
2204
2134
|
export class GraphCanvasComponent extends React.Component<IGraphCanvasComponentProps> implements BABYLON.NodeEditor.SharedUIComponents.INodeContainer {
|
|
2135
|
+
static readonly NodeWidth = 100;
|
|
2205
2136
|
private readonly _minZoom;
|
|
2206
2137
|
private readonly _maxZoom;
|
|
2207
2138
|
private _hostCanvas;
|
|
@@ -2238,6 +2169,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2238
2169
|
private _oldY;
|
|
2239
2170
|
_frameIsMoving: boolean;
|
|
2240
2171
|
_isLoading: boolean;
|
|
2172
|
+
private _copiedNodes;
|
|
2173
|
+
private _copiedFrames;
|
|
2241
2174
|
get gridSize(): number;
|
|
2242
2175
|
set gridSize(value: number);
|
|
2243
2176
|
get stateManager(): BABYLON.NodeEditor.SharedUIComponents.StateManager;
|
|
@@ -2261,6 +2194,9 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2261
2194
|
get frameContainer(): HTMLDivElement;
|
|
2262
2195
|
private _selectedFrameAndNodesConflict;
|
|
2263
2196
|
constructor(props: IGraphCanvasComponentProps);
|
|
2197
|
+
handleKeyDown(evt: KeyboardEvent, onRemove: (nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData) => void, mouseLocationX: number, mouseLocationY: number, dataGenerator: (nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData) => any, rootElement: HTMLDivElement): void;
|
|
2198
|
+
pasteSelection(copiedNodes: BABYLON.NodeEditor.SharedUIComponents.GraphNode[], currentX: number, currentY: number, dataGenerator: (nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData) => any, selectNew?: boolean): BABYLON.NodeEditor.SharedUIComponents.GraphNode[];
|
|
2199
|
+
reconnectNewNodes(nodeIndex: number, newNodes: BABYLON.NodeEditor.SharedUIComponents.GraphNode[], sourceNodes: BABYLON.NodeEditor.SharedUIComponents.GraphNode[], done: boolean[]): void;
|
|
2264
2200
|
getCachedData(): any[];
|
|
2265
2201
|
removeDataFromCache(data: any): void;
|
|
2266
2202
|
createNodeFromObject(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData, onNodeCreated: (data: any) => void, recursion?: boolean): BABYLON.NodeEditor.SharedUIComponents.GraphNode;
|
|
@@ -2282,6 +2218,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2282
2218
|
zoomToFit(): void;
|
|
2283
2219
|
processCandidatePort(): void;
|
|
2284
2220
|
connectNodes(nodeA: BABYLON.NodeEditor.SharedUIComponents.GraphNode, pointA: BABYLON.NodeEditor.SharedUIComponents.IPortData, nodeB: BABYLON.NodeEditor.SharedUIComponents.GraphNode, pointB: BABYLON.NodeEditor.SharedUIComponents.IPortData): void;
|
|
2221
|
+
drop(newNode: BABYLON.NodeEditor.SharedUIComponents.GraphNode, targetX: number, targetY: number, offsetX: number, offsetY: number): void;
|
|
2285
2222
|
processEditorData(editorData: BABYLON.NodeEditor.SharedUIComponents.IEditorData): void;
|
|
2286
2223
|
reOrganize(editorData?: BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.IEditorData>, isImportingAFrame?: boolean): void;
|
|
2287
2224
|
addFrame(frameData: BABYLON.NodeEditor.SharedUIComponents.IFrameData): void;
|