babylonjs-gui-editor 5.12.1 → 5.13.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.guiEditor.d.ts +711 -6
- package/babylon.guiEditor.js +1 -1
- package/babylon.guiEditor.js.map +1 -1
- package/babylon.guiEditor.max.js +36 -8
- package/babylon.guiEditor.max.js.map +1 -1
- package/babylon.guiEditor.module.d.ts +1415 -12
- package/package.json +3 -3
package/babylon.guiEditor.d.ts
CHANGED
|
@@ -1240,6 +1240,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1240
1240
|
onClick: () => void;
|
|
1241
1241
|
icon?: string;
|
|
1242
1242
|
iconLabel?: string;
|
|
1243
|
+
isDisabled?: boolean;
|
|
1243
1244
|
}
|
|
1244
1245
|
export class ButtonLineComponent extends React.Component<IButtonLineComponentProps> {
|
|
1245
1246
|
constructor(props: IButtonLineComponentProps);
|
|
@@ -1302,7 +1303,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1302
1303
|
icon?: string;
|
|
1303
1304
|
lockObject?: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
1304
1305
|
iconLabel?: string;
|
|
1305
|
-
|
|
1306
|
+
onChange?: () => void;
|
|
1306
1307
|
}
|
|
1307
1308
|
export class Color3LineComponent extends React.Component<IColor3LineComponentProps> {
|
|
1308
1309
|
render(): JSX.Element;
|
|
@@ -1697,6 +1698,42 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1697
1698
|
|
|
1698
1699
|
|
|
1699
1700
|
|
|
1701
|
+
}
|
|
1702
|
+
declare module BABYLON {
|
|
1703
|
+
|
|
1704
|
+
}
|
|
1705
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1706
|
+
interface IMatrixLineComponentProps {
|
|
1707
|
+
label: string;
|
|
1708
|
+
target: any;
|
|
1709
|
+
propertyName: string;
|
|
1710
|
+
step?: number;
|
|
1711
|
+
onChange?: (newValue: Matrix) => void;
|
|
1712
|
+
onModeChange?: (mode: number) => void;
|
|
1713
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1714
|
+
mode?: number;
|
|
1715
|
+
}
|
|
1716
|
+
export class MatrixLineComponent extends React.Component<IMatrixLineComponentProps, {
|
|
1717
|
+
value: Matrix;
|
|
1718
|
+
mode: number;
|
|
1719
|
+
angle: number;
|
|
1720
|
+
}> {
|
|
1721
|
+
private _localChange;
|
|
1722
|
+
constructor(props: IMatrixLineComponentProps);
|
|
1723
|
+
shouldComponentUpdate(nextProps: IMatrixLineComponentProps, nextState: {
|
|
1724
|
+
value: Matrix;
|
|
1725
|
+
mode: number;
|
|
1726
|
+
angle: number;
|
|
1727
|
+
}): boolean;
|
|
1728
|
+
raiseOnPropertyChanged(previousValue: Vector3): void;
|
|
1729
|
+
updateMatrix(): void;
|
|
1730
|
+
updateRow(value: Vector4, row: number): void;
|
|
1731
|
+
updateBasedOnMode(value: number): void;
|
|
1732
|
+
render(): JSX.Element;
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1735
|
+
|
|
1736
|
+
|
|
1700
1737
|
}
|
|
1701
1738
|
declare module BABYLON {
|
|
1702
1739
|
|
|
@@ -1758,24 +1795,29 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1758
1795
|
propertyName: string;
|
|
1759
1796
|
options: IInspectableOptions[];
|
|
1760
1797
|
noDirectUpdate?: boolean;
|
|
1761
|
-
onSelect?: (value: number) => void;
|
|
1762
|
-
extractValue?: () => number;
|
|
1798
|
+
onSelect?: (value: number | string) => void;
|
|
1799
|
+
extractValue?: (target: any) => number | string;
|
|
1763
1800
|
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1764
1801
|
allowNullValue?: boolean;
|
|
1765
1802
|
icon?: string;
|
|
1766
1803
|
iconLabel?: string;
|
|
1804
|
+
className?: string;
|
|
1805
|
+
valuesAreStrings?: boolean;
|
|
1806
|
+
defaultIfNull?: number;
|
|
1767
1807
|
}
|
|
1768
1808
|
export class OptionsLineComponent extends React.Component<IOptionsLineComponentProps, {
|
|
1769
|
-
value: number;
|
|
1809
|
+
value: number | string;
|
|
1770
1810
|
}> {
|
|
1771
1811
|
private _localChange;
|
|
1772
1812
|
private _remapValueIn;
|
|
1773
1813
|
private _remapValueOut;
|
|
1814
|
+
private _getValue;
|
|
1774
1815
|
constructor(props: IOptionsLineComponentProps);
|
|
1775
1816
|
shouldComponentUpdate(nextProps: IOptionsLineComponentProps, nextState: {
|
|
1776
1817
|
value: number;
|
|
1777
1818
|
}): boolean;
|
|
1778
1819
|
raiseOnPropertyChanged(newValue: number, previousValue: number): void;
|
|
1820
|
+
setValue(value: string | number): void;
|
|
1779
1821
|
updateValue(valueString: string): void;
|
|
1780
1822
|
render(): JSX.Element;
|
|
1781
1823
|
}
|
|
@@ -1904,6 +1946,8 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1904
1946
|
max?: number;
|
|
1905
1947
|
placeholder?: string;
|
|
1906
1948
|
unit?: React.ReactNode;
|
|
1949
|
+
validator?: (value: string) => boolean;
|
|
1950
|
+
multilines?: boolean;
|
|
1907
1951
|
}
|
|
1908
1952
|
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
|
1909
1953
|
value: string;
|
|
@@ -2075,14 +2119,15 @@ declare module BABYLON {
|
|
|
2075
2119
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2076
2120
|
interface IVector4LineComponentProps {
|
|
2077
2121
|
label: string;
|
|
2078
|
-
target
|
|
2079
|
-
propertyName
|
|
2122
|
+
target?: any;
|
|
2123
|
+
propertyName?: string;
|
|
2080
2124
|
step?: number;
|
|
2081
2125
|
onChange?: (newvalue: Vector4) => void;
|
|
2082
2126
|
useEuler?: boolean;
|
|
2083
2127
|
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2084
2128
|
icon?: string;
|
|
2085
2129
|
iconLabel?: string;
|
|
2130
|
+
value?: Vector4;
|
|
2086
2131
|
}
|
|
2087
2132
|
export class Vector4LineComponent extends React.Component<IVector4LineComponentProps, {
|
|
2088
2133
|
isExpanded: boolean;
|
|
@@ -2110,6 +2155,666 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2110
2155
|
|
|
2111
2156
|
|
|
2112
2157
|
|
|
2158
|
+
}
|
|
2159
|
+
declare module BABYLON {
|
|
2160
|
+
|
|
2161
|
+
}
|
|
2162
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2163
|
+
export class DisplayLedger {
|
|
2164
|
+
static RegisteredControls: {
|
|
2165
|
+
[key: string]: any;
|
|
2166
|
+
};
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
|
|
2170
|
+
|
|
2171
|
+
}
|
|
2172
|
+
declare module BABYLON {
|
|
2173
|
+
|
|
2174
|
+
}
|
|
2175
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2176
|
+
export class FrameNodePort extends BABYLON.GuiEditor.SharedUIComponents.NodePort {
|
|
2177
|
+
portData: BABYLON.GuiEditor.SharedUIComponents.IPortData;
|
|
2178
|
+
node: BABYLON.GuiEditor.SharedUIComponents.GraphNode;
|
|
2179
|
+
private _parentFrameId;
|
|
2180
|
+
private _isInput;
|
|
2181
|
+
private _framePortPosition;
|
|
2182
|
+
private _framePortId;
|
|
2183
|
+
private _onFramePortPositionChangedObservable;
|
|
2184
|
+
get parentFrameId(): number;
|
|
2185
|
+
get onFramePortPositionChangedObservable(): Observable<FrameNodePort>;
|
|
2186
|
+
get isInput(): boolean;
|
|
2187
|
+
get framePortId(): number;
|
|
2188
|
+
get framePortPosition(): BABYLON.GuiEditor.SharedUIComponents.FramePortPosition;
|
|
2189
|
+
set framePortPosition(position: BABYLON.GuiEditor.SharedUIComponents.FramePortPosition);
|
|
2190
|
+
constructor(portContainer: HTMLElement, portData: BABYLON.GuiEditor.SharedUIComponents.IPortData, node: BABYLON.GuiEditor.SharedUIComponents.GraphNode, stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager, isInput: boolean, framePortId: number, parentFrameId: number);
|
|
2191
|
+
static CreateFrameNodePortElement(portData: BABYLON.GuiEditor.SharedUIComponents.IPortData, node: BABYLON.GuiEditor.SharedUIComponents.GraphNode, root: HTMLElement, displayManager: Nullable<BABYLON.GuiEditor.SharedUIComponents.IDisplayManager>, stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager, isInput: boolean, framePortId: number, parentFrameId: number): FrameNodePort;
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2194
|
+
|
|
2195
|
+
|
|
2196
|
+
}
|
|
2197
|
+
declare module BABYLON {
|
|
2198
|
+
|
|
2199
|
+
}
|
|
2200
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2201
|
+
export interface IGraphCanvasComponentProps {
|
|
2202
|
+
stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager;
|
|
2203
|
+
onEmitNewNode: (nodeData: BABYLON.GuiEditor.SharedUIComponents.INodeData) => BABYLON.GuiEditor.SharedUIComponents.GraphNode;
|
|
2204
|
+
}
|
|
2205
|
+
export class GraphCanvasComponent extends React.Component<IGraphCanvasComponentProps> implements BABYLON.GuiEditor.SharedUIComponents.INodeContainer {
|
|
2206
|
+
private readonly _minZoom;
|
|
2207
|
+
private readonly _maxZoom;
|
|
2208
|
+
private _hostCanvas;
|
|
2209
|
+
private _graphCanvas;
|
|
2210
|
+
private _selectionContainer;
|
|
2211
|
+
private _frameContainer;
|
|
2212
|
+
private _svgCanvas;
|
|
2213
|
+
private _rootContainer;
|
|
2214
|
+
private _nodes;
|
|
2215
|
+
private _links;
|
|
2216
|
+
private _mouseStartPointX;
|
|
2217
|
+
private _mouseStartPointY;
|
|
2218
|
+
private _dropPointX;
|
|
2219
|
+
private _dropPointY;
|
|
2220
|
+
private _selectionStartX;
|
|
2221
|
+
private _selectionStartY;
|
|
2222
|
+
private _candidateLinkedHasMoved;
|
|
2223
|
+
private _x;
|
|
2224
|
+
private _y;
|
|
2225
|
+
private _zoom;
|
|
2226
|
+
private _selectedNodes;
|
|
2227
|
+
private _selectedLink;
|
|
2228
|
+
private _selectedPort;
|
|
2229
|
+
private _candidateLink;
|
|
2230
|
+
private _candidatePort;
|
|
2231
|
+
private _gridSize;
|
|
2232
|
+
private _selectionBox;
|
|
2233
|
+
private _selectedFrames;
|
|
2234
|
+
private _frameCandidate;
|
|
2235
|
+
private _frames;
|
|
2236
|
+
private _nodeDataContentList;
|
|
2237
|
+
private _altKeyIsPressed;
|
|
2238
|
+
private _multiKeyIsPressed;
|
|
2239
|
+
private _oldY;
|
|
2240
|
+
_frameIsMoving: boolean;
|
|
2241
|
+
_isLoading: boolean;
|
|
2242
|
+
get gridSize(): number;
|
|
2243
|
+
set gridSize(value: number);
|
|
2244
|
+
get stateManager(): BABYLON.GuiEditor.SharedUIComponents.StateManager;
|
|
2245
|
+
get nodes(): BABYLON.GuiEditor.SharedUIComponents.GraphNode[];
|
|
2246
|
+
get links(): BABYLON.GuiEditor.SharedUIComponents.NodeLink[];
|
|
2247
|
+
get frames(): BABYLON.GuiEditor.SharedUIComponents.GraphFrame[];
|
|
2248
|
+
get zoom(): number;
|
|
2249
|
+
set zoom(value: number);
|
|
2250
|
+
get x(): number;
|
|
2251
|
+
set x(value: number);
|
|
2252
|
+
get y(): number;
|
|
2253
|
+
set y(value: number);
|
|
2254
|
+
get selectedNodes(): BABYLON.GuiEditor.SharedUIComponents.GraphNode[];
|
|
2255
|
+
get selectedLink(): Nullable<BABYLON.GuiEditor.SharedUIComponents.NodeLink>;
|
|
2256
|
+
get selectedFrames(): BABYLON.GuiEditor.SharedUIComponents.GraphFrame[];
|
|
2257
|
+
get selectedPort(): Nullable<BABYLON.GuiEditor.SharedUIComponents.NodePort>;
|
|
2258
|
+
get canvasContainer(): HTMLDivElement;
|
|
2259
|
+
get hostCanvas(): HTMLDivElement;
|
|
2260
|
+
get svgCanvas(): HTMLElement;
|
|
2261
|
+
get selectionContainer(): HTMLDivElement;
|
|
2262
|
+
get frameContainer(): HTMLDivElement;
|
|
2263
|
+
private _selectedFrameAndNodesConflict;
|
|
2264
|
+
constructor(props: IGraphCanvasComponentProps);
|
|
2265
|
+
getCachedData(): any[];
|
|
2266
|
+
removeDataFromCache(data: any): void;
|
|
2267
|
+
createNodeFromObject(nodeData: BABYLON.GuiEditor.SharedUIComponents.INodeData, onNodeCreated: (data: any) => void, recursion?: boolean): BABYLON.GuiEditor.SharedUIComponents.GraphNode;
|
|
2268
|
+
getGridPosition(position: number, useCeil?: boolean): number;
|
|
2269
|
+
getGridPositionCeil(position: number): number;
|
|
2270
|
+
updateTransform(): void;
|
|
2271
|
+
onKeyUp(): void;
|
|
2272
|
+
findNodeFromData(data: any): BABYLON.GuiEditor.SharedUIComponents.GraphNode;
|
|
2273
|
+
reset(): void;
|
|
2274
|
+
connectPorts(pointA: BABYLON.GuiEditor.SharedUIComponents.IPortData, pointB: BABYLON.GuiEditor.SharedUIComponents.IPortData): void;
|
|
2275
|
+
removeLink(link: BABYLON.GuiEditor.SharedUIComponents.NodeLink): void;
|
|
2276
|
+
appendNode(data: BABYLON.GuiEditor.SharedUIComponents.INodeData): BABYLON.GuiEditor.SharedUIComponents.GraphNode;
|
|
2277
|
+
distributeGraph(): void;
|
|
2278
|
+
componentDidMount(): void;
|
|
2279
|
+
onMove(evt: React.PointerEvent): void;
|
|
2280
|
+
onDown(evt: React.PointerEvent<HTMLElement>): void;
|
|
2281
|
+
onUp(evt: React.PointerEvent): void;
|
|
2282
|
+
onWheel(evt: React.WheelEvent): void;
|
|
2283
|
+
zoomToFit(): void;
|
|
2284
|
+
processCandidatePort(): void;
|
|
2285
|
+
connectNodes(nodeA: BABYLON.GuiEditor.SharedUIComponents.GraphNode, pointA: BABYLON.GuiEditor.SharedUIComponents.IPortData, nodeB: BABYLON.GuiEditor.SharedUIComponents.GraphNode, pointB: BABYLON.GuiEditor.SharedUIComponents.IPortData): void;
|
|
2286
|
+
processEditorData(editorData: BABYLON.GuiEditor.SharedUIComponents.IEditorData): void;
|
|
2287
|
+
reOrganize(editorData?: Nullable<BABYLON.GuiEditor.SharedUIComponents.IEditorData>, isImportingAFrame?: boolean): void;
|
|
2288
|
+
addFrame(frameData: BABYLON.GuiEditor.SharedUIComponents.IFrameData): void;
|
|
2289
|
+
render(): JSX.Element;
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
|
|
2293
|
+
|
|
2294
|
+
}
|
|
2295
|
+
declare module BABYLON {
|
|
2296
|
+
|
|
2297
|
+
}
|
|
2298
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2299
|
+
export enum FramePortPosition {
|
|
2300
|
+
Top = 0,
|
|
2301
|
+
Middle = 1,
|
|
2302
|
+
Bottom = 2
|
|
2303
|
+
}
|
|
2304
|
+
export class GraphFrame {
|
|
2305
|
+
private readonly _collapsedWidth;
|
|
2306
|
+
private static _FrameCounter;
|
|
2307
|
+
private static _FramePortCounter;
|
|
2308
|
+
private _name;
|
|
2309
|
+
private _color;
|
|
2310
|
+
private _x;
|
|
2311
|
+
private _y;
|
|
2312
|
+
private _gridAlignedX;
|
|
2313
|
+
private _gridAlignedY;
|
|
2314
|
+
private _width;
|
|
2315
|
+
private _height;
|
|
2316
|
+
element: HTMLDivElement;
|
|
2317
|
+
private _borderElement;
|
|
2318
|
+
private _headerElement;
|
|
2319
|
+
private _headerTextElement;
|
|
2320
|
+
private _headerCollapseElement;
|
|
2321
|
+
private _headerCloseElement;
|
|
2322
|
+
private _commentsElement;
|
|
2323
|
+
private _portContainer;
|
|
2324
|
+
private _outputPortContainer;
|
|
2325
|
+
private _inputPortContainer;
|
|
2326
|
+
private _nodes;
|
|
2327
|
+
private _ownerCanvas;
|
|
2328
|
+
private _mouseStartPointX;
|
|
2329
|
+
private _mouseStartPointY;
|
|
2330
|
+
private _onSelectionChangedObserver;
|
|
2331
|
+
private _onGraphNodeRemovalObserver;
|
|
2332
|
+
private _onExposePortOnFrameObserver;
|
|
2333
|
+
private _onNodeLinkDisposedObservers;
|
|
2334
|
+
private _isCollapsed;
|
|
2335
|
+
private _frameInPorts;
|
|
2336
|
+
private _frameOutPorts;
|
|
2337
|
+
private _controlledPorts;
|
|
2338
|
+
private _exposedInPorts;
|
|
2339
|
+
private _exposedOutPorts;
|
|
2340
|
+
private _id;
|
|
2341
|
+
private _comments;
|
|
2342
|
+
private _frameIsResizing;
|
|
2343
|
+
private _resizingDirection;
|
|
2344
|
+
private _minFrameHeight;
|
|
2345
|
+
private _minFrameWidth;
|
|
2346
|
+
private _mouseXLimit;
|
|
2347
|
+
onExpandStateChanged: Observable<GraphFrame>;
|
|
2348
|
+
private readonly _closeSVG;
|
|
2349
|
+
private readonly _expandSVG;
|
|
2350
|
+
private readonly _collapseSVG;
|
|
2351
|
+
get id(): number;
|
|
2352
|
+
get isCollapsed(): boolean;
|
|
2353
|
+
private _createInputPort;
|
|
2354
|
+
private _markFramePortPositions;
|
|
2355
|
+
private _createFramePorts;
|
|
2356
|
+
private _removePortFromExposedWithNode;
|
|
2357
|
+
private _removePortFromExposedWithLink;
|
|
2358
|
+
private _createInputPorts;
|
|
2359
|
+
private _createOutputPorts;
|
|
2360
|
+
redrawFramePorts(): void;
|
|
2361
|
+
set isCollapsed(value: boolean);
|
|
2362
|
+
get nodes(): BABYLON.GuiEditor.SharedUIComponents.GraphNode[];
|
|
2363
|
+
get ports(): BABYLON.GuiEditor.SharedUIComponents.FrameNodePort[];
|
|
2364
|
+
get name(): string;
|
|
2365
|
+
set name(value: string);
|
|
2366
|
+
get color(): Color3;
|
|
2367
|
+
set color(value: Color3);
|
|
2368
|
+
get x(): number;
|
|
2369
|
+
set x(value: number);
|
|
2370
|
+
get y(): number;
|
|
2371
|
+
set y(value: number);
|
|
2372
|
+
get width(): number;
|
|
2373
|
+
set width(value: number);
|
|
2374
|
+
get height(): number;
|
|
2375
|
+
set height(value: number);
|
|
2376
|
+
get comments(): string;
|
|
2377
|
+
set comments(comments: string);
|
|
2378
|
+
constructor(candidate: Nullable<HTMLDivElement>, canvas: BABYLON.GuiEditor.SharedUIComponents.GraphCanvasComponent, doNotCaptureNodes?: boolean);
|
|
2379
|
+
refresh(): void;
|
|
2380
|
+
addNode(node: BABYLON.GuiEditor.SharedUIComponents.GraphNode): void;
|
|
2381
|
+
removeNode(node: BABYLON.GuiEditor.SharedUIComponents.GraphNode): void;
|
|
2382
|
+
syncNode(node: BABYLON.GuiEditor.SharedUIComponents.GraphNode): void;
|
|
2383
|
+
cleanAccumulation(): void;
|
|
2384
|
+
private _onDown;
|
|
2385
|
+
move(newX: number, newY: number, align?: boolean): void;
|
|
2386
|
+
private _onUp;
|
|
2387
|
+
_moveFrame(offsetX: number, offsetY: number): void;
|
|
2388
|
+
private _onMove;
|
|
2389
|
+
moveFramePortUp(nodePort: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort): void;
|
|
2390
|
+
private _movePortUp;
|
|
2391
|
+
moveFramePortDown(nodePort: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort): void;
|
|
2392
|
+
private _movePortDown;
|
|
2393
|
+
private _initResizing;
|
|
2394
|
+
private _cleanUpResizing;
|
|
2395
|
+
private _updateMinHeightWithComments;
|
|
2396
|
+
private _isResizingTop;
|
|
2397
|
+
private _isResizingRight;
|
|
2398
|
+
private _isResizingBottom;
|
|
2399
|
+
private _isResizingLeft;
|
|
2400
|
+
private _onRightHandlePointerDown;
|
|
2401
|
+
private _onRightHandlePointerMove;
|
|
2402
|
+
private _moveRightHandle;
|
|
2403
|
+
private _onRightHandlePointerUp;
|
|
2404
|
+
private _onBottomHandlePointerDown;
|
|
2405
|
+
private _onBottomHandlePointerMove;
|
|
2406
|
+
private _moveBottomHandle;
|
|
2407
|
+
private _onBottomHandlePointerUp;
|
|
2408
|
+
private _onLeftHandlePointerDown;
|
|
2409
|
+
private _onLeftHandlePointerMove;
|
|
2410
|
+
private _moveLeftHandle;
|
|
2411
|
+
private _onLeftHandlePointerUp;
|
|
2412
|
+
private _onTopHandlePointerDown;
|
|
2413
|
+
private _onTopHandlePointerMove;
|
|
2414
|
+
private _moveTopHandle;
|
|
2415
|
+
private _onTopHandlePointerUp;
|
|
2416
|
+
private _onTopRightHandlePointerDown;
|
|
2417
|
+
private _onTopRightHandlePointerMove;
|
|
2418
|
+
private _moveTopRightHandle;
|
|
2419
|
+
private _onTopRightHandlePointerUp;
|
|
2420
|
+
private _onBottomRightHandlePointerDown;
|
|
2421
|
+
private _onBottomRightHandlePointerMove;
|
|
2422
|
+
private _moveBottomRightHandle;
|
|
2423
|
+
private _onBottomRightHandlePointerUp;
|
|
2424
|
+
private _onBottomLeftHandlePointerDown;
|
|
2425
|
+
private _onBottomLeftHandlePointerMove;
|
|
2426
|
+
private _moveBottomLeftHandle;
|
|
2427
|
+
private _onBottomLeftHandlePointerUp;
|
|
2428
|
+
private _onTopLeftHandlePointerDown;
|
|
2429
|
+
private _onTopLeftHandlePointerMove;
|
|
2430
|
+
private _moveTopLeftHandle;
|
|
2431
|
+
private _onTopLeftHandlePointerUp;
|
|
2432
|
+
private _expandLeft;
|
|
2433
|
+
private _expandTop;
|
|
2434
|
+
private _expandRight;
|
|
2435
|
+
private _expandBottom;
|
|
2436
|
+
dispose(): void;
|
|
2437
|
+
private _serializePortData;
|
|
2438
|
+
serialize(saveCollapsedState: boolean): BABYLON.GuiEditor.SharedUIComponents.IFrameData;
|
|
2439
|
+
export(): void;
|
|
2440
|
+
adjustPorts(): void;
|
|
2441
|
+
static Parse(serializationData: BABYLON.GuiEditor.SharedUIComponents.IFrameData, canvas: BABYLON.GuiEditor.SharedUIComponents.GraphCanvasComponent, map?: {
|
|
2442
|
+
[key: number]: number;
|
|
2443
|
+
}): GraphFrame;
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
|
|
2447
|
+
|
|
2448
|
+
}
|
|
2449
|
+
declare module BABYLON {
|
|
2450
|
+
|
|
2451
|
+
}
|
|
2452
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2453
|
+
/// <reference types="react" />
|
|
2454
|
+
export class GraphNode {
|
|
2455
|
+
content: BABYLON.GuiEditor.SharedUIComponents.INodeData;
|
|
2456
|
+
private _visual;
|
|
2457
|
+
private _headerContainer;
|
|
2458
|
+
private _warning;
|
|
2459
|
+
private _header;
|
|
2460
|
+
private _connections;
|
|
2461
|
+
private _inputsContainer;
|
|
2462
|
+
private _outputsContainer;
|
|
2463
|
+
private _content;
|
|
2464
|
+
private _comments;
|
|
2465
|
+
private _inputPorts;
|
|
2466
|
+
private _outputPorts;
|
|
2467
|
+
private _links;
|
|
2468
|
+
private _x;
|
|
2469
|
+
private _y;
|
|
2470
|
+
private _gridAlignedX;
|
|
2471
|
+
private _gridAlignedY;
|
|
2472
|
+
private _mouseStartPointX;
|
|
2473
|
+
private _mouseStartPointY;
|
|
2474
|
+
private _stateManager;
|
|
2475
|
+
private _onSelectionChangedObserver;
|
|
2476
|
+
private _onSelectionBoxMovedObserver;
|
|
2477
|
+
private _onFrameCreatedObserver;
|
|
2478
|
+
private _onUpdateRequiredObserver;
|
|
2479
|
+
private _ownerCanvas;
|
|
2480
|
+
private _isSelected;
|
|
2481
|
+
private _displayManager;
|
|
2482
|
+
private _isVisible;
|
|
2483
|
+
private _enclosingFrameId;
|
|
2484
|
+
get isVisible(): boolean;
|
|
2485
|
+
set isVisible(value: boolean);
|
|
2486
|
+
private _upateNodePortNames;
|
|
2487
|
+
get outputPorts(): BABYLON.GuiEditor.SharedUIComponents.NodePort[];
|
|
2488
|
+
get inputPorts(): BABYLON.GuiEditor.SharedUIComponents.NodePort[];
|
|
2489
|
+
get links(): BABYLON.GuiEditor.SharedUIComponents.NodeLink[];
|
|
2490
|
+
get gridAlignedX(): number;
|
|
2491
|
+
get gridAlignedY(): number;
|
|
2492
|
+
get x(): number;
|
|
2493
|
+
set x(value: number);
|
|
2494
|
+
get y(): number;
|
|
2495
|
+
set y(value: number);
|
|
2496
|
+
get width(): number;
|
|
2497
|
+
get height(): number;
|
|
2498
|
+
get id(): number;
|
|
2499
|
+
get name(): string;
|
|
2500
|
+
get isSelected(): boolean;
|
|
2501
|
+
get enclosingFrameId(): number;
|
|
2502
|
+
set enclosingFrameId(value: number);
|
|
2503
|
+
set isSelected(value: boolean);
|
|
2504
|
+
setIsSelected(value: boolean, marqueeSelection: boolean): void;
|
|
2505
|
+
constructor(content: BABYLON.GuiEditor.SharedUIComponents.INodeData, stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager);
|
|
2506
|
+
isOverlappingFrame(frame: BABYLON.GuiEditor.SharedUIComponents.GraphFrame): boolean;
|
|
2507
|
+
getPortForPortData(portData: BABYLON.GuiEditor.SharedUIComponents.IPortData): BABYLON.GuiEditor.SharedUIComponents.NodePort | null;
|
|
2508
|
+
getPortDataForPortDataContent(data: any): BABYLON.GuiEditor.SharedUIComponents.IPortData | null;
|
|
2509
|
+
getLinksForPortDataContent(data: any): BABYLON.GuiEditor.SharedUIComponents.NodeLink[];
|
|
2510
|
+
getLinksForPortData(portData: BABYLON.GuiEditor.SharedUIComponents.IPortData): BABYLON.GuiEditor.SharedUIComponents.NodeLink[];
|
|
2511
|
+
private _refreshFrames;
|
|
2512
|
+
_refreshLinks(): void;
|
|
2513
|
+
refresh(): void;
|
|
2514
|
+
private _onDown;
|
|
2515
|
+
cleanAccumulation(useCeil?: boolean): void;
|
|
2516
|
+
private _onUp;
|
|
2517
|
+
private _onMove;
|
|
2518
|
+
renderProperties(): Nullable<JSX.Element>;
|
|
2519
|
+
appendVisual(root: HTMLDivElement, owner: BABYLON.GuiEditor.SharedUIComponents.GraphCanvasComponent): void;
|
|
2520
|
+
dispose(): void;
|
|
2521
|
+
}
|
|
2522
|
+
|
|
2523
|
+
|
|
2524
|
+
|
|
2525
|
+
}
|
|
2526
|
+
declare module BABYLON {
|
|
2527
|
+
|
|
2528
|
+
}
|
|
2529
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2530
|
+
export interface IDisplayManager {
|
|
2531
|
+
getHeaderClass(data: BABYLON.GuiEditor.SharedUIComponents.INodeData): string;
|
|
2532
|
+
shouldDisplayPortLabels(data: BABYLON.GuiEditor.SharedUIComponents.IPortData): boolean;
|
|
2533
|
+
updatePreviewContent(data: BABYLON.GuiEditor.SharedUIComponents.INodeData, contentArea: HTMLDivElement): void;
|
|
2534
|
+
getBackgroundColor(data: BABYLON.GuiEditor.SharedUIComponents.INodeData): string;
|
|
2535
|
+
getHeaderText(data: BABYLON.GuiEditor.SharedUIComponents.INodeData): string;
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2538
|
+
|
|
2539
|
+
|
|
2540
|
+
}
|
|
2541
|
+
declare module BABYLON {
|
|
2542
|
+
|
|
2543
|
+
}
|
|
2544
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2545
|
+
export interface INodeContainer {
|
|
2546
|
+
nodes: BABYLON.GuiEditor.SharedUIComponents.GraphNode[];
|
|
2547
|
+
}
|
|
2548
|
+
|
|
2549
|
+
|
|
2550
|
+
|
|
2551
|
+
}
|
|
2552
|
+
declare module BABYLON {
|
|
2553
|
+
|
|
2554
|
+
}
|
|
2555
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2556
|
+
export interface INodeData {
|
|
2557
|
+
data: any;
|
|
2558
|
+
name: string;
|
|
2559
|
+
uniqueId: number;
|
|
2560
|
+
isInput: boolean;
|
|
2561
|
+
comments: string;
|
|
2562
|
+
getWarningMessage: () => string;
|
|
2563
|
+
getClassName: () => string;
|
|
2564
|
+
dispose: () => void;
|
|
2565
|
+
getPortByName: (name: string) => Nullable<BABYLON.GuiEditor.SharedUIComponents.IPortData>;
|
|
2566
|
+
inputs: BABYLON.GuiEditor.SharedUIComponents.IPortData[];
|
|
2567
|
+
outputs: BABYLON.GuiEditor.SharedUIComponents.IPortData[];
|
|
2568
|
+
}
|
|
2569
|
+
|
|
2570
|
+
|
|
2571
|
+
|
|
2572
|
+
}
|
|
2573
|
+
declare module BABYLON {
|
|
2574
|
+
|
|
2575
|
+
}
|
|
2576
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2577
|
+
export interface INodeLocationInfo {
|
|
2578
|
+
blockId: number;
|
|
2579
|
+
x: number;
|
|
2580
|
+
y: number;
|
|
2581
|
+
}
|
|
2582
|
+
export interface IFrameData {
|
|
2583
|
+
x: number;
|
|
2584
|
+
y: number;
|
|
2585
|
+
width: number;
|
|
2586
|
+
height: number;
|
|
2587
|
+
color: number[];
|
|
2588
|
+
name: string;
|
|
2589
|
+
isCollapsed: boolean;
|
|
2590
|
+
blocks: number[];
|
|
2591
|
+
comments: string;
|
|
2592
|
+
}
|
|
2593
|
+
export interface IEditorData {
|
|
2594
|
+
locations: INodeLocationInfo[];
|
|
2595
|
+
x: number;
|
|
2596
|
+
y: number;
|
|
2597
|
+
zoom: number;
|
|
2598
|
+
frames?: IFrameData[];
|
|
2599
|
+
map?: {
|
|
2600
|
+
[key: number]: number;
|
|
2601
|
+
};
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
|
|
2605
|
+
|
|
2606
|
+
}
|
|
2607
|
+
declare module BABYLON {
|
|
2608
|
+
|
|
2609
|
+
}
|
|
2610
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2611
|
+
export enum PortDataDirection {
|
|
2612
|
+
/** Input */
|
|
2613
|
+
Input = 0,
|
|
2614
|
+
/** Output */
|
|
2615
|
+
Output = 1
|
|
2616
|
+
}
|
|
2617
|
+
export interface IPortData {
|
|
2618
|
+
data: any;
|
|
2619
|
+
name: string;
|
|
2620
|
+
internalName: string;
|
|
2621
|
+
isExposedOnFrame: boolean;
|
|
2622
|
+
exposedPortPosition: number;
|
|
2623
|
+
isConnected: boolean;
|
|
2624
|
+
direction: PortDataDirection;
|
|
2625
|
+
ownerData: any;
|
|
2626
|
+
connectedPort: Nullable<IPortData>;
|
|
2627
|
+
needDualDirectionValidation: boolean;
|
|
2628
|
+
hasEndpoints: boolean;
|
|
2629
|
+
endpoints: Nullable<IPortData[]>;
|
|
2630
|
+
updateDisplayName: (newName: string) => void;
|
|
2631
|
+
connectTo: (port: IPortData) => void;
|
|
2632
|
+
disconnectFrom: (port: IPortData) => void;
|
|
2633
|
+
checkCompatibilityState(port: IPortData): number;
|
|
2634
|
+
getCompatibilityIssueMessage(issue: number, targetNode: BABYLON.GuiEditor.SharedUIComponents.GraphNode, targetPort: IPortData): string;
|
|
2635
|
+
}
|
|
2636
|
+
|
|
2637
|
+
|
|
2638
|
+
|
|
2639
|
+
}
|
|
2640
|
+
declare module BABYLON {
|
|
2641
|
+
|
|
2642
|
+
}
|
|
2643
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2644
|
+
export interface IPropertyComponentProps {
|
|
2645
|
+
stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager;
|
|
2646
|
+
nodeData: BABYLON.GuiEditor.SharedUIComponents.INodeData;
|
|
2647
|
+
}
|
|
2648
|
+
|
|
2649
|
+
|
|
2650
|
+
|
|
2651
|
+
}
|
|
2652
|
+
declare module BABYLON {
|
|
2653
|
+
|
|
2654
|
+
}
|
|
2655
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2656
|
+
export interface ISelectionChangedOptions {
|
|
2657
|
+
selection: Nullable<BABYLON.GuiEditor.SharedUIComponents.GraphNode | BABYLON.GuiEditor.SharedUIComponents.NodeLink | BABYLON.GuiEditor.SharedUIComponents.GraphFrame | BABYLON.GuiEditor.SharedUIComponents.NodePort | BABYLON.GuiEditor.SharedUIComponents.FramePortData>;
|
|
2658
|
+
forceKeepSelection?: boolean;
|
|
2659
|
+
marqueeSelection?: boolean;
|
|
2660
|
+
}
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
|
|
2664
|
+
}
|
|
2665
|
+
declare module BABYLON {
|
|
2666
|
+
|
|
2667
|
+
}
|
|
2668
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2669
|
+
export class NodeLink {
|
|
2670
|
+
private _graphCanvas;
|
|
2671
|
+
private _portA;
|
|
2672
|
+
private _portB?;
|
|
2673
|
+
private _nodeA;
|
|
2674
|
+
private _nodeB?;
|
|
2675
|
+
private _path;
|
|
2676
|
+
private _selectionPath;
|
|
2677
|
+
private _onSelectionChangedObserver;
|
|
2678
|
+
private _isVisible;
|
|
2679
|
+
onDisposedObservable: Observable<NodeLink>;
|
|
2680
|
+
get isVisible(): boolean;
|
|
2681
|
+
set isVisible(value: boolean);
|
|
2682
|
+
get portA(): BABYLON.GuiEditor.SharedUIComponents.NodePort | BABYLON.GuiEditor.SharedUIComponents.FrameNodePort;
|
|
2683
|
+
get portB(): BABYLON.GuiEditor.SharedUIComponents.NodePort | BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | undefined;
|
|
2684
|
+
get nodeA(): BABYLON.GuiEditor.SharedUIComponents.GraphNode;
|
|
2685
|
+
get nodeB(): BABYLON.GuiEditor.SharedUIComponents.GraphNode | undefined;
|
|
2686
|
+
update(endX?: number, endY?: number, straight?: boolean): void;
|
|
2687
|
+
constructor(graphCanvas: BABYLON.GuiEditor.SharedUIComponents.GraphCanvasComponent, portA: BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeA: BABYLON.GuiEditor.SharedUIComponents.GraphNode, portB?: BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB?: BABYLON.GuiEditor.SharedUIComponents.GraphNode);
|
|
2688
|
+
onClick(evt: MouseEvent): void;
|
|
2689
|
+
dispose(notify?: boolean): void;
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
}
|
|
2695
|
+
declare module BABYLON {
|
|
2696
|
+
|
|
2697
|
+
}
|
|
2698
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2699
|
+
export class NodePort {
|
|
2700
|
+
portData: BABYLON.GuiEditor.SharedUIComponents.IPortData;
|
|
2701
|
+
node: BABYLON.GuiEditor.SharedUIComponents.GraphNode;
|
|
2702
|
+
protected _element: HTMLDivElement;
|
|
2703
|
+
protected _img: HTMLImageElement;
|
|
2704
|
+
protected _stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager;
|
|
2705
|
+
protected _portLabelElement: Element;
|
|
2706
|
+
protected _onCandidateLinkMovedObserver: Nullable<Observer<Nullable<Vector2>>>;
|
|
2707
|
+
protected _onSelectionChangedObserver: Nullable<Observer<Nullable<BABYLON.GuiEditor.SharedUIComponents.ISelectionChangedOptions>>>;
|
|
2708
|
+
protected _exposedOnFrame: boolean;
|
|
2709
|
+
delegatedPort: Nullable<BABYLON.GuiEditor.SharedUIComponents.FrameNodePort>;
|
|
2710
|
+
get element(): HTMLDivElement;
|
|
2711
|
+
get portName(): string;
|
|
2712
|
+
set portName(newName: string);
|
|
2713
|
+
get disabled(): boolean;
|
|
2714
|
+
hasLabel(): boolean;
|
|
2715
|
+
get exposedOnFrame(): boolean;
|
|
2716
|
+
set exposedOnFrame(value: boolean);
|
|
2717
|
+
get exposedPortPosition(): number;
|
|
2718
|
+
set exposedPortPosition(value: number);
|
|
2719
|
+
private _isConnectedToNodeOutsideOfFrame;
|
|
2720
|
+
refresh(): void;
|
|
2721
|
+
constructor(portContainer: HTMLElement, portData: BABYLON.GuiEditor.SharedUIComponents.IPortData, node: BABYLON.GuiEditor.SharedUIComponents.GraphNode, stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager);
|
|
2722
|
+
dispose(): void;
|
|
2723
|
+
static CreatePortElement(portData: BABYLON.GuiEditor.SharedUIComponents.IPortData, node: BABYLON.GuiEditor.SharedUIComponents.GraphNode, root: HTMLElement, displayManager: Nullable<BABYLON.GuiEditor.SharedUIComponents.IDisplayManager>, stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager): NodePort;
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
|
|
2727
|
+
|
|
2728
|
+
}
|
|
2729
|
+
declare module BABYLON {
|
|
2730
|
+
|
|
2731
|
+
}
|
|
2732
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2733
|
+
export class PropertyLedger {
|
|
2734
|
+
static DefaultControl: React.ComponentClass<BABYLON.GuiEditor.SharedUIComponents.IPropertyComponentProps>;
|
|
2735
|
+
static RegisteredControls: {
|
|
2736
|
+
[key: string]: React.ComponentClass<BABYLON.GuiEditor.SharedUIComponents.IPropertyComponentProps>;
|
|
2737
|
+
};
|
|
2738
|
+
}
|
|
2739
|
+
|
|
2740
|
+
|
|
2741
|
+
|
|
2742
|
+
}
|
|
2743
|
+
declare module BABYLON {
|
|
2744
|
+
|
|
2745
|
+
}
|
|
2746
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2747
|
+
export class StateManager {
|
|
2748
|
+
data: any;
|
|
2749
|
+
hostDocument: Document;
|
|
2750
|
+
lockObject: any;
|
|
2751
|
+
onSelectionChangedObservable: Observable<Nullable<BABYLON.GuiEditor.SharedUIComponents.ISelectionChangedOptions>>;
|
|
2752
|
+
onFrameCreatedObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>;
|
|
2753
|
+
onUpdateRequiredObservable: Observable<any>;
|
|
2754
|
+
onGraphNodeRemovalObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphNode>;
|
|
2755
|
+
onSelectionBoxMoved: Observable<ClientRect | DOMRect>;
|
|
2756
|
+
onCandidateLinkMoved: Observable<Nullable<Vector2>>;
|
|
2757
|
+
onCandidatePortSelectedObservable: Observable<Nullable<BABYLON.GuiEditor.SharedUIComponents.NodePort | BABYLON.GuiEditor.SharedUIComponents.FrameNodePort>>;
|
|
2758
|
+
onNewNodeCreatedObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphNode>;
|
|
2759
|
+
onRebuildRequiredObservable: Observable<boolean>;
|
|
2760
|
+
onErrorMessageDialogRequiredObservable: Observable<string>;
|
|
2761
|
+
onExposePortOnFrameObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphNode>;
|
|
2762
|
+
onGridSizeChanged: Observable<void>;
|
|
2763
|
+
onNewBlockRequiredObservable: Observable<{
|
|
2764
|
+
type: string;
|
|
2765
|
+
targetX: number;
|
|
2766
|
+
targetY: number;
|
|
2767
|
+
needRepositioning?: boolean | undefined;
|
|
2768
|
+
}>;
|
|
2769
|
+
exportData: (data: any) => string;
|
|
2770
|
+
isElbowConnectionAllowed: (nodeA: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort) => boolean;
|
|
2771
|
+
applyNodePortDesign: (data: BABYLON.GuiEditor.SharedUIComponents.IPortData, element: HTMLElement, img: HTMLImageElement) => void;
|
|
2772
|
+
storeEditorData: (serializationObject: any, frame?: Nullable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>) => void;
|
|
2773
|
+
getEditorDataMap: () => {
|
|
2774
|
+
[key: number]: number;
|
|
2775
|
+
};
|
|
2776
|
+
createDefaultInputData: (rootData: any, portData: BABYLON.GuiEditor.SharedUIComponents.IPortData, nodeContainer: BABYLON.GuiEditor.SharedUIComponents.INodeContainer) => {
|
|
2777
|
+
data: BABYLON.GuiEditor.SharedUIComponents.INodeData;
|
|
2778
|
+
name: string;
|
|
2779
|
+
};
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
|
|
2783
|
+
|
|
2784
|
+
}
|
|
2785
|
+
declare module BABYLON {
|
|
2786
|
+
|
|
2787
|
+
}
|
|
2788
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2789
|
+
export const IsFramePortData: (variableToCheck: any) => variableToCheck is BABYLON.GuiEditor.SharedUIComponents.FramePortData;
|
|
2790
|
+
export const RefreshNode: (node: BABYLON.GuiEditor.SharedUIComponents.GraphNode, visitedNodes?: Set<BABYLON.GuiEditor.SharedUIComponents.GraphNode> | undefined, visitedLinks?: Set<BABYLON.GuiEditor.SharedUIComponents.NodeLink> | undefined) => void;
|
|
2791
|
+
|
|
2792
|
+
|
|
2793
|
+
|
|
2794
|
+
}
|
|
2795
|
+
declare module BABYLON {
|
|
2796
|
+
|
|
2797
|
+
}
|
|
2798
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2799
|
+
export class TypeLedger {
|
|
2800
|
+
static PortDataBuilder: (port: BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeContainer: BABYLON.GuiEditor.SharedUIComponents.INodeContainer) => BABYLON.GuiEditor.SharedUIComponents.IPortData;
|
|
2801
|
+
static NodeDataBuilder: (data: any, nodeContainer: BABYLON.GuiEditor.SharedUIComponents.INodeContainer) => BABYLON.GuiEditor.SharedUIComponents.INodeData;
|
|
2802
|
+
}
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
|
|
2806
|
+
}
|
|
2807
|
+
declare module BABYLON {
|
|
2808
|
+
|
|
2809
|
+
}
|
|
2810
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2811
|
+
export type FramePortData = {
|
|
2812
|
+
frame: BABYLON.GuiEditor.SharedUIComponents.GraphFrame;
|
|
2813
|
+
port: FrameNodePort;
|
|
2814
|
+
};
|
|
2815
|
+
|
|
2816
|
+
|
|
2817
|
+
|
|
2113
2818
|
}
|
|
2114
2819
|
declare module BABYLON {
|
|
2115
2820
|
|