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.
|
@@ -4347,8 +4347,8 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
4347
4347
|
label: string;
|
|
4348
4348
|
gradients: BABYLON.Nullable<Array<T>>;
|
|
4349
4349
|
addGradient: (step?: T) => void;
|
|
4350
|
-
removeGradient: (step: T) => void;
|
|
4351
|
-
onChange: (newGradient: T) => void;
|
|
4350
|
+
removeGradient: (step: T, index: number) => void;
|
|
4351
|
+
onChange: (newGradient: T, index: number) => void;
|
|
4352
4352
|
};
|
|
4353
4353
|
export var FactorGradientList: React.FunctionComponent<GradientListProps<BABYLON.FactorGradient>>;
|
|
4354
4354
|
export var Color3GradientList: React.FunctionComponent<GradientListProps<BABYLON.Color3Gradient>>;
|
|
@@ -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>>;
|
|
@@ -10166,8 +10166,8 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
10166
10166
|
label: string;
|
|
10167
10167
|
gradients: BABYLON.Nullable<Array<T>>;
|
|
10168
10168
|
addGradient: (step?: T) => void;
|
|
10169
|
-
removeGradient: (step: T) => void;
|
|
10170
|
-
onChange: (newGradient: T) => void;
|
|
10169
|
+
removeGradient: (step: T, index: number) => void;
|
|
10170
|
+
onChange: (newGradient: T, index: number) => void;
|
|
10171
10171
|
};
|
|
10172
10172
|
export var FactorGradientList: React.FunctionComponent<GradientListProps<BABYLON.FactorGradient>>;
|
|
10173
10173
|
export var Color3GradientList: React.FunctionComponent<GradientListProps<BABYLON.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": "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*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^8.46.
|
|
17
|
+
"babylonjs": "^8.46.2"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|