babylonjs-node-render-graph-editor 7.23.4 → 7.24.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.
|
@@ -54224,7 +54224,7 @@ class GraphFrame {
|
|
|
54224
54224
|
height: this._height,
|
|
54225
54225
|
color: this._color.asArray(),
|
|
54226
54226
|
name: this.name,
|
|
54227
|
-
isCollapsed: saveCollapsedState ? this.isCollapsed : true,
|
|
54227
|
+
isCollapsed: saveCollapsedState ? this.isCollapsed : true, //keeping closed for stand along exporting.
|
|
54228
54228
|
blocks: this.nodes.map((n) => n.content.uniqueId),
|
|
54229
54229
|
comments: this._comments,
|
|
54230
54230
|
};
|
|
@@ -59057,17 +59057,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
59057
59057
|
|
|
59058
59058
|
|
|
59059
59059
|
const samplingModeList = [
|
|
59060
|
-
{ label: "Nearest/Nearest", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_NEAREST_SAMPLINGMODE },
|
|
59061
|
-
{ label: "Linear/Nearest", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_LINEAR_NEAREST },
|
|
59062
|
-
{ label: "Nearest/Linear", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_NEAREST_LINEAR },
|
|
59063
|
-
{ label: "Linear/Linear", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_BILINEAR_SAMPLINGMODE },
|
|
59064
|
-
{ label: "Nearest/Nearest & nearest mip", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_NEAREST_NEAREST_MIPNEAREST },
|
|
59065
|
-
{ label: "Linear/Nearest & nearest mip", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_LINEAR_NEAREST_MIPNEAREST },
|
|
59066
|
-
{ label: "Nearest/Linear & nearest mip", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_NEAREST_LINEAR_MIPNEAREST },
|
|
59067
|
-
{ label: "Linear/Linear & nearest mip", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_LINEAR_LINEAR_MIPNEAREST },
|
|
59068
|
-
{ label: "Nearest/Nearest & linear mip", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_NEAREST_NEAREST_MIPLINEAR },
|
|
59069
|
-
{ label: "Linear/Nearest & linear mip", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_LINEAR_NEAREST_MIPLINEAR },
|
|
59070
|
-
{ label: "Nearest/Linear & linear mip", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_NEAREST_LINEAR_MIPLINEAR },
|
|
59060
|
+
{ label: "Nearest/Nearest", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_NEAREST_SAMPLINGMODE }, // 1
|
|
59061
|
+
{ label: "Linear/Nearest", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_LINEAR_NEAREST }, // 12
|
|
59062
|
+
{ label: "Nearest/Linear", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_NEAREST_LINEAR }, // 7
|
|
59063
|
+
{ label: "Linear/Linear", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_BILINEAR_SAMPLINGMODE }, // 2
|
|
59064
|
+
{ label: "Nearest/Nearest & nearest mip", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_NEAREST_NEAREST_MIPNEAREST }, // 4
|
|
59065
|
+
{ label: "Linear/Nearest & nearest mip", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_LINEAR_NEAREST_MIPNEAREST }, // 9
|
|
59066
|
+
{ label: "Nearest/Linear & nearest mip", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_NEAREST_LINEAR_MIPNEAREST }, // 5
|
|
59067
|
+
{ label: "Linear/Linear & nearest mip", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_LINEAR_LINEAR_MIPNEAREST }, // 11
|
|
59068
|
+
{ label: "Nearest/Nearest & linear mip", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_NEAREST_NEAREST_MIPLINEAR }, // 8
|
|
59069
|
+
{ label: "Linear/Nearest & linear mip", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_LINEAR_NEAREST_MIPLINEAR }, // 10
|
|
59070
|
+
{ label: "Nearest/Linear & linear mip", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_NEAREST_LINEAR_MIPLINEAR }, // 6
|
|
59071
59071
|
{ label: "Linear/Linear & linear mip", value: core_Engines_constants__WEBPACK_IMPORTED_MODULE_11__.Constants.TEXTURE_TRILINEAR_SAMPLINGMODE }, // 3
|
|
59072
59072
|
];
|
|
59073
59073
|
const textureFormatList = [
|
|
@@ -1310,7 +1310,6 @@ export {};
|
|
|
1310
1310
|
|
|
1311
1311
|
}
|
|
1312
1312
|
declare module "babylonjs-node-render-graph-editor/split/splitter" {
|
|
1313
|
-
/// <reference types="react" />
|
|
1314
1313
|
import { ControlledSize } from "babylonjs-node-render-graph-editor/split/splitContext";
|
|
1315
1314
|
/**
|
|
1316
1315
|
* Splitter component properties
|
|
@@ -1354,7 +1353,6 @@ export const Splitter: React.FC<ISplitterProps>;
|
|
|
1354
1353
|
|
|
1355
1354
|
}
|
|
1356
1355
|
declare module "babylonjs-node-render-graph-editor/split/splitContext" {
|
|
1357
|
-
/// <reference types="react" />
|
|
1358
1356
|
export enum ControlledSize {
|
|
1359
1357
|
First = 0,
|
|
1360
1358
|
Second = 1
|
|
@@ -1400,7 +1398,6 @@ export const SplitContext: import("react").Context<ISplitContext>;
|
|
|
1400
1398
|
|
|
1401
1399
|
}
|
|
1402
1400
|
declare module "babylonjs-node-render-graph-editor/split/splitContainer" {
|
|
1403
|
-
/// <reference types="react" />
|
|
1404
1401
|
import { SplitDirection } from "babylonjs-node-render-graph-editor/split/splitContext";
|
|
1405
1402
|
/**
|
|
1406
1403
|
* Split container properties
|
|
@@ -1521,8 +1518,8 @@ export class StateManager {
|
|
|
1521
1518
|
type: string;
|
|
1522
1519
|
targetX: number;
|
|
1523
1520
|
targetY: number;
|
|
1524
|
-
needRepositioning?: boolean
|
|
1525
|
-
smartAdd?: boolean
|
|
1521
|
+
needRepositioning?: boolean;
|
|
1522
|
+
smartAdd?: boolean;
|
|
1526
1523
|
}>;
|
|
1527
1524
|
onHighlightNodeObservable: Observable<{
|
|
1528
1525
|
data: any;
|
|
@@ -1669,7 +1666,6 @@ export class NodeLedger {
|
|
|
1669
1666
|
|
|
1670
1667
|
}
|
|
1671
1668
|
declare module "babylonjs-node-render-graph-editor/nodeGraphSystem/graphNode" {
|
|
1672
|
-
/// <reference types="react" />
|
|
1673
1669
|
import { Nullable } from "babylonjs/types";
|
|
1674
1670
|
import { GraphCanvasComponent } from "babylonjs-node-render-graph-editor/nodeGraphSystem/graphCanvas";
|
|
1675
1671
|
import { NodePort } from "babylonjs-node-render-graph-editor/nodeGraphSystem/nodePort";
|
|
@@ -3019,7 +3015,7 @@ export class ColorPickerLine extends React.Component<IColorPickerLineProps, ICol
|
|
|
3019
3015
|
syncPositions(): void;
|
|
3020
3016
|
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
3021
3017
|
getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
|
|
3022
|
-
children?: React.ReactNode;
|
|
3018
|
+
children?: React.ReactNode | undefined;
|
|
3023
3019
|
}>): string;
|
|
3024
3020
|
componentDidUpdate(): void;
|
|
3025
3021
|
componentDidMount(): void;
|
|
@@ -3054,7 +3050,7 @@ export class ColorLine extends React.Component<IColorLineProps, IColorLineCompon
|
|
|
3054
3050
|
constructor(props: IColorLineProps);
|
|
3055
3051
|
shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
|
|
3056
3052
|
getValue(props?: Readonly<IColorLineProps> & Readonly<{
|
|
3057
|
-
children?: React.ReactNode;
|
|
3053
|
+
children?: React.ReactNode | undefined;
|
|
3058
3054
|
}>): Color4;
|
|
3059
3055
|
setColorFromString(colorString: string): void;
|
|
3060
3056
|
setColor(newColor: Color4): void;
|
|
@@ -3188,7 +3184,6 @@ export function JoinClassNames(styleObject: any, ...names: string[]): string;
|
|
|
3188
3184
|
|
|
3189
3185
|
}
|
|
3190
3186
|
declare module "babylonjs-node-render-graph-editor/components/Toggle" {
|
|
3191
|
-
/// <reference types="react" />
|
|
3192
3187
|
export type ToggleProps = {
|
|
3193
3188
|
toggled: "on" | "mixed" | "off";
|
|
3194
3189
|
onToggle?: () => void;
|
|
@@ -3235,7 +3230,6 @@ export const Label: React.FC<LabelProps>;
|
|
|
3235
3230
|
|
|
3236
3231
|
}
|
|
3237
3232
|
declare module "babylonjs-node-render-graph-editor/components/Icon" {
|
|
3238
|
-
/// <reference types="react" />
|
|
3239
3233
|
export type IconProps = {
|
|
3240
3234
|
color?: "dark" | "light";
|
|
3241
3235
|
icon: string;
|
|
@@ -3244,7 +3238,6 @@ export const Icon: React.FC<IconProps>;
|
|
|
3244
3238
|
|
|
3245
3239
|
}
|
|
3246
3240
|
declare module "babylonjs-node-render-graph-editor/components/Button" {
|
|
3247
|
-
/// <reference types="react" />
|
|
3248
3241
|
export type ButtonProps = {
|
|
3249
3242
|
disabled?: boolean;
|
|
3250
3243
|
active?: boolean;
|
|
@@ -3432,7 +3425,6 @@ export const GraphLine: FC<IGraphLineProps>;
|
|
|
3432
3425
|
|
|
3433
3426
|
}
|
|
3434
3427
|
declare module "babylonjs-node-render-graph-editor/components/reactGraphSystem/GraphContextManager" {
|
|
3435
|
-
/// <reference types="react" />
|
|
3436
3428
|
/**
|
|
3437
3429
|
* this context is used to pass callbacks to the graph nodes and connections
|
|
3438
3430
|
*/
|
|
@@ -3607,7 +3599,7 @@ export class ColorPickerLineComponent extends React.Component<IColorPickerLineCo
|
|
|
3607
3599
|
syncPositions(): void;
|
|
3608
3600
|
shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
3609
3601
|
getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
|
|
3610
|
-
children?: React.ReactNode;
|
|
3602
|
+
children?: React.ReactNode | undefined;
|
|
3611
3603
|
}>): string;
|
|
3612
3604
|
componentDidUpdate(): void;
|
|
3613
3605
|
componentDidMount(): void;
|
|
@@ -3642,7 +3634,7 @@ export class ColorLineComponent extends React.Component<IColorLineComponentProps
|
|
|
3642
3634
|
constructor(props: IColorLineComponentProps);
|
|
3643
3635
|
shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
|
|
3644
3636
|
getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
|
|
3645
|
-
children?: React.ReactNode;
|
|
3637
|
+
children?: React.ReactNode | undefined;
|
|
3646
3638
|
}>): Color4;
|
|
3647
3639
|
setColorFromString(colorString: string): void;
|
|
3648
3640
|
setColor(newColor: Color4): void;
|
|
@@ -3777,7 +3769,6 @@ export enum ResizeDirections {
|
|
|
3777
3769
|
|
|
3778
3770
|
}
|
|
3779
3771
|
declare module "babylonjs-node-render-graph-editor/components/layout/LayoutContext" {
|
|
3780
|
-
/// <reference types="react" />
|
|
3781
3772
|
import { Layout } from "babylonjs-node-render-graph-editor/components/layout/types";
|
|
3782
3773
|
export const LayoutContext: import("react").Context<{
|
|
3783
3774
|
/**
|
|
@@ -5435,8 +5426,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
5435
5426
|
|
|
5436
5427
|
}
|
|
5437
5428
|
declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
5438
|
-
|
|
5439
|
-
/**
|
|
5429
|
+
/**
|
|
5440
5430
|
* Splitter component properties
|
|
5441
5431
|
*/
|
|
5442
5432
|
export interface ISplitterProps {
|
|
@@ -5484,8 +5474,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
5484
5474
|
|
|
5485
5475
|
}
|
|
5486
5476
|
declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
5487
|
-
|
|
5488
|
-
export enum ControlledSize {
|
|
5477
|
+
export enum ControlledSize {
|
|
5489
5478
|
First = 0,
|
|
5490
5479
|
Second = 1
|
|
5491
5480
|
}
|
|
@@ -5536,8 +5525,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
5536
5525
|
|
|
5537
5526
|
}
|
|
5538
5527
|
declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
5539
|
-
|
|
5540
|
-
/**
|
|
5528
|
+
/**
|
|
5541
5529
|
* Split container properties
|
|
5542
5530
|
*/
|
|
5543
5531
|
export interface ISplitContainerProps {
|
|
@@ -5653,8 +5641,8 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
5653
5641
|
type: string;
|
|
5654
5642
|
targetX: number;
|
|
5655
5643
|
targetY: number;
|
|
5656
|
-
needRepositioning?: boolean
|
|
5657
|
-
smartAdd?: boolean
|
|
5644
|
+
needRepositioning?: boolean;
|
|
5645
|
+
smartAdd?: boolean;
|
|
5658
5646
|
}>;
|
|
5659
5647
|
onHighlightNodeObservable: BABYLON.Observable<{
|
|
5660
5648
|
data: any;
|
|
@@ -5818,8 +5806,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
5818
5806
|
|
|
5819
5807
|
}
|
|
5820
5808
|
declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
5821
|
-
|
|
5822
|
-
export class GraphNode {
|
|
5809
|
+
export class GraphNode {
|
|
5823
5810
|
content: BABYLON.NodeRenderGraphEditor.SharedUIComponents.INodeData;
|
|
5824
5811
|
private _visual;
|
|
5825
5812
|
private _headerContainer;
|
|
@@ -7276,7 +7263,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
7276
7263
|
syncPositions(): void;
|
|
7277
7264
|
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
7278
7265
|
getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
|
|
7279
|
-
children?: React.ReactNode;
|
|
7266
|
+
children?: React.ReactNode | undefined;
|
|
7280
7267
|
}>): string;
|
|
7281
7268
|
componentDidUpdate(): void;
|
|
7282
7269
|
componentDidMount(): void;
|
|
@@ -7311,7 +7298,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
7311
7298
|
constructor(props: IColorLineProps);
|
|
7312
7299
|
shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
|
|
7313
7300
|
getValue(props?: Readonly<IColorLineProps> & Readonly<{
|
|
7314
|
-
children?: React.ReactNode;
|
|
7301
|
+
children?: React.ReactNode | undefined;
|
|
7315
7302
|
}>): BABYLON.Color4;
|
|
7316
7303
|
setColorFromString(colorString: string): void;
|
|
7317
7304
|
setColor(newColor: BABYLON.Color4): void;
|
|
@@ -7472,8 +7459,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
7472
7459
|
|
|
7473
7460
|
}
|
|
7474
7461
|
declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
7475
|
-
|
|
7476
|
-
export type ToggleProps = {
|
|
7462
|
+
export type ToggleProps = {
|
|
7477
7463
|
toggled: "on" | "mixed" | "off";
|
|
7478
7464
|
onToggle?: () => void;
|
|
7479
7465
|
padded?: boolean;
|
|
@@ -7541,8 +7527,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
7541
7527
|
|
|
7542
7528
|
}
|
|
7543
7529
|
declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
7544
|
-
|
|
7545
|
-
export type IconProps = {
|
|
7530
|
+
export type IconProps = {
|
|
7546
7531
|
color?: "dark" | "light";
|
|
7547
7532
|
icon: string;
|
|
7548
7533
|
};
|
|
@@ -7556,8 +7541,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
7556
7541
|
|
|
7557
7542
|
}
|
|
7558
7543
|
declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
7559
|
-
|
|
7560
|
-
export type ButtonProps = {
|
|
7544
|
+
export type ButtonProps = {
|
|
7561
7545
|
disabled?: boolean;
|
|
7562
7546
|
active?: boolean;
|
|
7563
7547
|
onClick?: () => void;
|
|
@@ -7780,8 +7764,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
7780
7764
|
|
|
7781
7765
|
}
|
|
7782
7766
|
declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
7783
|
-
|
|
7784
|
-
/**
|
|
7767
|
+
/**
|
|
7785
7768
|
* this context is used to pass callbacks to the graph nodes and connections
|
|
7786
7769
|
*/
|
|
7787
7770
|
export interface IGraphContext {
|
|
@@ -7982,7 +7965,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
7982
7965
|
syncPositions(): void;
|
|
7983
7966
|
shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
7984
7967
|
getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
|
|
7985
|
-
children?: React.ReactNode;
|
|
7968
|
+
children?: React.ReactNode | undefined;
|
|
7986
7969
|
}>): string;
|
|
7987
7970
|
componentDidUpdate(): void;
|
|
7988
7971
|
componentDidMount(): void;
|
|
@@ -8017,7 +8000,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
8017
8000
|
constructor(props: IColorLineComponentProps);
|
|
8018
8001
|
shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
|
|
8019
8002
|
getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
|
|
8020
|
-
children?: React.ReactNode;
|
|
8003
|
+
children?: React.ReactNode | undefined;
|
|
8021
8004
|
}>): BABYLON.Color4;
|
|
8022
8005
|
setColorFromString(colorString: string): void;
|
|
8023
8006
|
setColor(newColor: BABYLON.Color4): void;
|
|
@@ -8167,8 +8150,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
8167
8150
|
|
|
8168
8151
|
}
|
|
8169
8152
|
declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
8170
|
-
|
|
8171
|
-
export var LayoutContext: import("react").Context<{
|
|
8153
|
+
export var LayoutContext: import("react").Context<{
|
|
8172
8154
|
/**
|
|
8173
8155
|
* The layout object
|
|
8174
8156
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-render-graph-editor",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.24.1",
|
|
4
4
|
"main": "babylon.nodeRenderGraphEditor.js",
|
|
5
5
|
"types": "babylon.nodeRenderGraphEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.*"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.
|
|
17
|
+
"babylonjs": "^7.35.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|