@babylonjs/node-render-graph-editor 8.3.0 → 8.4.0

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.
@@ -1033,6 +1033,32 @@ export function getClassNameWithNamespace(obj: any): {
1033
1033
  babylonNamespace: string;
1034
1034
  };
1035
1035
 
1036
+ }
1037
+ declare module "@babylonjs/node-render-graph-editor/constToOptionsMaps" {
1038
+ /**
1039
+ * Used by both particleSystem and alphaBlendModes
1040
+ */
1041
+ export const commonBlendModes: {
1042
+ label: string;
1043
+ value: number;
1044
+ }[];
1045
+ /**
1046
+ * Used to populated the blendMode dropdown in our various tools (Node Editor, Inspector, etc.)
1047
+ * The below ParticleSystem consts were defined before new Engine alpha blend modes were added, so we have to reference
1048
+ * the ParticleSystem.FOO consts explicitly (as the underlying const values are different - they get mapped to engine consts within baseParticleSystem.ts)
1049
+ */
1050
+ export const blendModeOptions: {
1051
+ label: string;
1052
+ value: number;
1053
+ }[];
1054
+ /**
1055
+ * Used to populated the alphaMode dropdown in our various tools (Node Editor, Inspector, etc.)
1056
+ */
1057
+ export const alphaModeOptions: {
1058
+ label: string;
1059
+ value: number;
1060
+ }[];
1061
+
1036
1062
  }
1037
1063
  declare module "@babylonjs/node-render-graph-editor/tabs/propertyGrids/lockObject" {
1038
1064
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/node-render-graph-editor",
3
- "version": "8.3.0",
3
+ "version": "8.4.0",
4
4
  "main": "dist/babylon.nodeRenderGraphEditor.max.js",
5
5
  "module": "dist/babylon.nodeRenderGraphEditor.max.js",
6
6
  "esnext": "dist/babylon.nodeRenderGraphEditor.max.js",
@@ -23,7 +23,7 @@
23
23
  "@types/react-dom": ">=16.0.9"
24
24
  },
25
25
  "devDependencies": {
26
- "@babylonjs/core": "^8.3.0",
26
+ "@babylonjs/core": "^8.4.0",
27
27
  "react": "^18.2.0",
28
28
  "react-dom": "^18.2.0"
29
29
  },