babylonjs-node-editor 7.34.4 → 7.35.1
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 +15 -24
- package/babylon.nodeEditor.js.map +1 -1
- package/babylon.nodeEditor.max.js +23 -23
- package/babylon.nodeEditor.module.d.ts +21 -39
- package/package.json +2 -2
package/babylon.nodeEditor.d.ts
CHANGED
|
@@ -1385,8 +1385,7 @@ declare module BABYLON.NodeEditor {
|
|
|
1385
1385
|
|
|
1386
1386
|
}
|
|
1387
1387
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
1388
|
-
|
|
1389
|
-
/**
|
|
1388
|
+
/**
|
|
1390
1389
|
* Splitter component properties
|
|
1391
1390
|
*/
|
|
1392
1391
|
export interface ISplitterProps {
|
|
@@ -1434,8 +1433,7 @@ declare module BABYLON.NodeEditor {
|
|
|
1434
1433
|
|
|
1435
1434
|
}
|
|
1436
1435
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
1437
|
-
|
|
1438
|
-
export enum ControlledSize {
|
|
1436
|
+
export enum ControlledSize {
|
|
1439
1437
|
First = 0,
|
|
1440
1438
|
Second = 1
|
|
1441
1439
|
}
|
|
@@ -1486,8 +1484,7 @@ declare module BABYLON.NodeEditor {
|
|
|
1486
1484
|
|
|
1487
1485
|
}
|
|
1488
1486
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
1489
|
-
|
|
1490
|
-
/**
|
|
1487
|
+
/**
|
|
1491
1488
|
* Split container properties
|
|
1492
1489
|
*/
|
|
1493
1490
|
export interface ISplitContainerProps {
|
|
@@ -1603,8 +1600,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1603
1600
|
type: string;
|
|
1604
1601
|
targetX: number;
|
|
1605
1602
|
targetY: number;
|
|
1606
|
-
needRepositioning?: boolean
|
|
1607
|
-
smartAdd?: boolean
|
|
1603
|
+
needRepositioning?: boolean;
|
|
1604
|
+
smartAdd?: boolean;
|
|
1608
1605
|
}>;
|
|
1609
1606
|
onHighlightNodeObservable: BABYLON.Observable<{
|
|
1610
1607
|
data: any;
|
|
@@ -1768,8 +1765,7 @@ declare module BABYLON.NodeEditor {
|
|
|
1768
1765
|
|
|
1769
1766
|
}
|
|
1770
1767
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
1771
|
-
|
|
1772
|
-
export class GraphNode {
|
|
1768
|
+
export class GraphNode {
|
|
1773
1769
|
content: BABYLON.NodeEditor.SharedUIComponents.INodeData;
|
|
1774
1770
|
private _visual;
|
|
1775
1771
|
private _headerContainer;
|
|
@@ -3226,7 +3222,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
3226
3222
|
syncPositions(): void;
|
|
3227
3223
|
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
3228
3224
|
getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
|
|
3229
|
-
children?: React.ReactNode;
|
|
3225
|
+
children?: React.ReactNode | undefined;
|
|
3230
3226
|
}>): string;
|
|
3231
3227
|
componentDidUpdate(): void;
|
|
3232
3228
|
componentDidMount(): void;
|
|
@@ -3261,7 +3257,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
3261
3257
|
constructor(props: IColorLineProps);
|
|
3262
3258
|
shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
|
|
3263
3259
|
getValue(props?: Readonly<IColorLineProps> & Readonly<{
|
|
3264
|
-
children?: React.ReactNode;
|
|
3260
|
+
children?: React.ReactNode | undefined;
|
|
3265
3261
|
}>): BABYLON.Color4;
|
|
3266
3262
|
setColorFromString(colorString: string): void;
|
|
3267
3263
|
setColor(newColor: BABYLON.Color4): void;
|
|
@@ -3422,8 +3418,7 @@ declare module BABYLON.NodeEditor {
|
|
|
3422
3418
|
|
|
3423
3419
|
}
|
|
3424
3420
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
3425
|
-
|
|
3426
|
-
export type ToggleProps = {
|
|
3421
|
+
export type ToggleProps = {
|
|
3427
3422
|
toggled: "on" | "mixed" | "off";
|
|
3428
3423
|
onToggle?: () => void;
|
|
3429
3424
|
padded?: boolean;
|
|
@@ -3491,8 +3486,7 @@ declare module BABYLON.NodeEditor {
|
|
|
3491
3486
|
|
|
3492
3487
|
}
|
|
3493
3488
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
3494
|
-
|
|
3495
|
-
export type IconProps = {
|
|
3489
|
+
export type IconProps = {
|
|
3496
3490
|
color?: "dark" | "light";
|
|
3497
3491
|
icon: string;
|
|
3498
3492
|
};
|
|
@@ -3506,8 +3500,7 @@ declare module BABYLON.NodeEditor {
|
|
|
3506
3500
|
|
|
3507
3501
|
}
|
|
3508
3502
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
3509
|
-
|
|
3510
|
-
export type ButtonProps = {
|
|
3503
|
+
export type ButtonProps = {
|
|
3511
3504
|
disabled?: boolean;
|
|
3512
3505
|
active?: boolean;
|
|
3513
3506
|
onClick?: () => void;
|
|
@@ -3730,8 +3723,7 @@ declare module BABYLON.NodeEditor {
|
|
|
3730
3723
|
|
|
3731
3724
|
}
|
|
3732
3725
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
3733
|
-
|
|
3734
|
-
/**
|
|
3726
|
+
/**
|
|
3735
3727
|
* this context is used to pass callbacks to the graph nodes and connections
|
|
3736
3728
|
*/
|
|
3737
3729
|
export interface IGraphContext {
|
|
@@ -3932,7 +3924,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
3932
3924
|
syncPositions(): void;
|
|
3933
3925
|
shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
3934
3926
|
getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
|
|
3935
|
-
children?: React.ReactNode;
|
|
3927
|
+
children?: React.ReactNode | undefined;
|
|
3936
3928
|
}>): string;
|
|
3937
3929
|
componentDidUpdate(): void;
|
|
3938
3930
|
componentDidMount(): void;
|
|
@@ -3967,7 +3959,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
3967
3959
|
constructor(props: IColorLineComponentProps);
|
|
3968
3960
|
shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
|
|
3969
3961
|
getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
|
|
3970
|
-
children?: React.ReactNode;
|
|
3962
|
+
children?: React.ReactNode | undefined;
|
|
3971
3963
|
}>): BABYLON.Color4;
|
|
3972
3964
|
setColorFromString(colorString: string): void;
|
|
3973
3965
|
setColor(newColor: BABYLON.Color4): void;
|
|
@@ -4117,8 +4109,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4117
4109
|
|
|
4118
4110
|
}
|
|
4119
4111
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
4120
|
-
|
|
4121
|
-
export var LayoutContext: import("react").Context<{
|
|
4112
|
+
export var LayoutContext: import("react").Context<{
|
|
4122
4113
|
/**
|
|
4123
4114
|
* The layout object
|
|
4124
4115
|
*/
|