babylonjs-node-editor 7.32.3 → 7.32.5
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 +23 -27
- package/babylon.nodeEditor.js +1 -1
- package/babylon.nodeEditor.js.map +1 -1
- package/babylon.nodeEditor.max.js +510 -489
- package/babylon.nodeEditor.module.d.ts +43 -67
- package/package.json +2 -2
package/babylon.nodeEditor.d.ts
CHANGED
|
@@ -119,7 +119,6 @@ declare module BABYLON.NodeEditor {
|
|
|
119
119
|
onReOrganizedRequiredObservable: BABYLON.Observable<void>;
|
|
120
120
|
onLogRequiredObservable: BABYLON.Observable<LogEntry>;
|
|
121
121
|
onIsLoadingChanged: BABYLON.Observable<boolean>;
|
|
122
|
-
onPreviewCommandActivated: BABYLON.Observable<boolean>;
|
|
123
122
|
onLightUpdated: BABYLON.Observable<void>;
|
|
124
123
|
onBackgroundHDRUpdated: BABYLON.Observable<void>;
|
|
125
124
|
onPreviewBackgroundChanged: BABYLON.Observable<void>;
|
|
@@ -323,18 +322,6 @@ declare module BABYLON.NodeEditor {
|
|
|
323
322
|
}
|
|
324
323
|
|
|
325
324
|
|
|
326
|
-
export class TrigonometryPropertyTabComponent extends React.Component<BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps> {
|
|
327
|
-
constructor(props: BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps);
|
|
328
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
export class TransformPropertyTabComponent extends React.Component<BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps> {
|
|
333
|
-
constructor(props: BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps);
|
|
334
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
|
|
338
325
|
type ReflectionTexture = BABYLON.ReflectionTextureBlock | BABYLON.ReflectionBlock | BABYLON.RefractionBlock;
|
|
339
326
|
type AnyTexture = BABYLON.TextureBlock | ReflectionTexture | BABYLON.CurrentScreenBlock | BABYLON.ParticleTextureBlock | BABYLON.TriPlanarBlock;
|
|
340
327
|
export class TexturePropertyTabComponent extends React.Component<BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps, {
|
|
@@ -470,7 +457,6 @@ declare module BABYLON.NodeEditor {
|
|
|
470
457
|
}
|
|
471
458
|
export class GenericPropertyTabComponent extends React.Component<BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps> {
|
|
472
459
|
constructor(props: BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps);
|
|
473
|
-
forceRebuild(propertyName: string, notifiers?: BABYLON.IEditablePropertyOption["notifiers"]): void;
|
|
474
460
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
475
461
|
}
|
|
476
462
|
|
|
@@ -505,18 +491,6 @@ declare module BABYLON.NodeEditor {
|
|
|
505
491
|
}
|
|
506
492
|
|
|
507
493
|
|
|
508
|
-
export class CurvePropertyTabComponent extends React.Component<BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps> {
|
|
509
|
-
constructor(props: BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps);
|
|
510
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
export class ConditionalPropertyTabComponent extends React.Component<BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps> {
|
|
515
|
-
constructor(props: BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps);
|
|
516
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
|
|
520
494
|
export class ColorMergerPropertyTabComponent extends React.Component<BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps> {
|
|
521
495
|
constructor(props: BABYLON.NodeEditor.SharedUIComponents.IPropertyComponentProps);
|
|
522
496
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1429,7 +1403,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1429
1403
|
onFrameCreatedObservable: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.GraphFrame>;
|
|
1430
1404
|
onUpdateRequiredObservable: BABYLON.Observable<any>;
|
|
1431
1405
|
onGraphNodeRemovalObservable: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.GraphNode>;
|
|
1432
|
-
onSelectionBoxMoved: BABYLON.Observable<
|
|
1406
|
+
onSelectionBoxMoved: BABYLON.Observable<ClientRect | DOMRect>;
|
|
1433
1407
|
onCandidateLinkMoved: BABYLON.Observable<BABYLON.Nullable<BABYLON.Vector2>>;
|
|
1434
1408
|
onCandidatePortSelectedObservable: BABYLON.Observable<BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort>>;
|
|
1435
1409
|
onNewNodeCreatedObservable: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.GraphNode>;
|
|
@@ -1449,6 +1423,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1449
1423
|
data: any;
|
|
1450
1424
|
active: boolean;
|
|
1451
1425
|
}>;
|
|
1426
|
+
onPreviewCommandActivated: BABYLON.Observable<boolean>;
|
|
1452
1427
|
exportData: (data: any, frame?: BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.GraphFrame>) => string;
|
|
1453
1428
|
isElbowConnectionAllowed: (nodeA: BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort) => boolean;
|
|
1454
1429
|
isDebugConnectionAllowed: (nodeA: BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort) => boolean;
|
|
@@ -1457,6 +1432,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1457
1432
|
getEditorDataMap: () => {
|
|
1458
1433
|
[key: number]: number;
|
|
1459
1434
|
};
|
|
1435
|
+
getScene?: () => BABYLON.Scene;
|
|
1460
1436
|
createDefaultInputData: (rootData: any, portData: BABYLON.NodeEditor.SharedUIComponents.IPortData, nodeContainer: BABYLON.NodeEditor.SharedUIComponents.INodeContainer) => BABYLON.Nullable<{
|
|
1461
1437
|
data: BABYLON.NodeEditor.SharedUIComponents.INodeData;
|
|
1462
1438
|
name: string;
|
|
@@ -1612,6 +1588,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1612
1588
|
private _headerIconImg;
|
|
1613
1589
|
private _header;
|
|
1614
1590
|
private _connections;
|
|
1591
|
+
private _optionsContainer;
|
|
1615
1592
|
private _inputsContainer;
|
|
1616
1593
|
private _outputsContainer;
|
|
1617
1594
|
private _content;
|
|
@@ -1638,6 +1615,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1638
1615
|
private _displayManager;
|
|
1639
1616
|
private _isVisible;
|
|
1640
1617
|
private _enclosingFrameId;
|
|
1618
|
+
private _visualPropertiesRefresh;
|
|
1641
1619
|
addClassToVisual(className: string): void;
|
|
1642
1620
|
removeClassFromVisual(className: string): void;
|
|
1643
1621
|
get isVisible(): boolean;
|
|
@@ -1676,6 +1654,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1676
1654
|
private _onUp;
|
|
1677
1655
|
private _onMove;
|
|
1678
1656
|
renderProperties(): BABYLON.Nullable<JSX.Element>;
|
|
1657
|
+
private _forceRebuild;
|
|
1679
1658
|
appendVisual(root: HTMLDivElement, owner: BABYLON.NodeEditor.SharedUIComponents.GraphCanvasComponent): void;
|
|
1680
1659
|
dispose(): void;
|
|
1681
1660
|
}
|
|
@@ -2002,6 +1981,23 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2002
1981
|
|
|
2003
1982
|
|
|
2004
1983
|
|
|
1984
|
+
}
|
|
1985
|
+
declare module BABYLON.NodeEditor {
|
|
1986
|
+
|
|
1987
|
+
|
|
1988
|
+
}
|
|
1989
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
1990
|
+
/**
|
|
1991
|
+
* Function used to force a rebuild of the node system
|
|
1992
|
+
* @param source source object
|
|
1993
|
+
* @param stateManager defines the state manager to use
|
|
1994
|
+
* @param propertyName name of the property that has been changed
|
|
1995
|
+
* @param notifiers list of notifiers to use
|
|
1996
|
+
*/
|
|
1997
|
+
export function ForceRebuild(source: any, stateManager: BABYLON.NodeEditor.SharedUIComponents.StateManager, propertyName: string, notifiers?: BABYLON.IEditablePropertyOption["notifiers"]): void;
|
|
1998
|
+
|
|
1999
|
+
|
|
2000
|
+
|
|
2005
2001
|
}
|
|
2006
2002
|
declare module BABYLON.NodeEditor {
|
|
2007
2003
|
|