@babylonjs/node-render-graph-editor 8.46.1 → 8.46.2
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.
|
@@ -3739,7 +3739,7 @@ export const MaterialSelector: FunctionComponent<MaterialSelectorProps>;
|
|
|
3739
3739
|
|
|
3740
3740
|
}
|
|
3741
3741
|
declare module "@babylonjs/node-render-graph-editor/fluent/primitives/list" {
|
|
3742
|
-
import {
|
|
3742
|
+
import { ReactElement, ReactNode } from "react";
|
|
3743
3743
|
/**
|
|
3744
3744
|
* Represents an item in a list
|
|
3745
3745
|
*/
|
|
@@ -4264,8 +4264,8 @@ type GradientListProps<T extends FactorGradient | Color3Gradient | Color4Gradien
|
|
|
4264
4264
|
label: string;
|
|
4265
4265
|
gradients: Nullable<Array<T>>;
|
|
4266
4266
|
addGradient: (step?: T) => void;
|
|
4267
|
-
removeGradient: (step: T) => void;
|
|
4268
|
-
onChange: (newGradient: T) => void;
|
|
4267
|
+
removeGradient: (step: T, index: number) => void;
|
|
4268
|
+
onChange: (newGradient: T, index: number) => void;
|
|
4269
4269
|
};
|
|
4270
4270
|
export const FactorGradientList: FunctionComponent<GradientListProps<FactorGradient>>;
|
|
4271
4271
|
export const Color3GradientList: FunctionComponent<GradientListProps<Color3Gradient>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babylonjs/node-render-graph-editor",
|
|
3
|
-
"version": "8.46.
|
|
3
|
+
"version": "8.46.2",
|
|
4
4
|
"main": "dist/babylon.nodeRenderGraphEditor.js",
|
|
5
5
|
"module": "dist/babylon.nodeRenderGraphEditor.js",
|
|
6
6
|
"esnext": "dist/babylon.nodeRenderGraphEditor.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@types/react-dom": ">=16.0.9"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@babylonjs/core": "^8.46.
|
|
26
|
+
"@babylonjs/core": "^8.46.2",
|
|
27
27
|
"@tools/node-render-graph-editor": "1.0.0",
|
|
28
28
|
"react": "^18.2.0",
|
|
29
29
|
"react-dom": "^18.2.0"
|