@babylonjs/node-particle-editor 8.46.0 → 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.
|
@@ -3790,7 +3790,7 @@ export const MaterialSelector: FunctionComponent<MaterialSelectorProps>;
|
|
|
3790
3790
|
|
|
3791
3791
|
}
|
|
3792
3792
|
declare module "@babylonjs/node-particle-editor/fluent/primitives/list" {
|
|
3793
|
-
import {
|
|
3793
|
+
import { ReactElement, ReactNode } from "react";
|
|
3794
3794
|
/**
|
|
3795
3795
|
* Represents an item in a list
|
|
3796
3796
|
*/
|
|
@@ -4315,8 +4315,8 @@ type GradientListProps<T extends FactorGradient | Color3Gradient | Color4Gradien
|
|
|
4315
4315
|
label: string;
|
|
4316
4316
|
gradients: Nullable<Array<T>>;
|
|
4317
4317
|
addGradient: (step?: T) => void;
|
|
4318
|
-
removeGradient: (step: T) => void;
|
|
4319
|
-
onChange: (newGradient: T) => void;
|
|
4318
|
+
removeGradient: (step: T, index: number) => void;
|
|
4319
|
+
onChange: (newGradient: T, index: number) => void;
|
|
4320
4320
|
};
|
|
4321
4321
|
export const FactorGradientList: FunctionComponent<GradientListProps<FactorGradient>>;
|
|
4322
4322
|
export const Color3GradientList: FunctionComponent<GradientListProps<Color3Gradient>>;
|
package/package.json
CHANGED