@babylonjs/node-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.
@@ -1477,6 +1477,32 @@ export function getClassNameWithNamespace(obj: any): {
1477
1477
  babylonNamespace: string;
1478
1478
  };
1479
1479
 
1480
+ }
1481
+ declare module "@babylonjs/node-editor/constToOptionsMaps" {
1482
+ /**
1483
+ * Used by both particleSystem and alphaBlendModes
1484
+ */
1485
+ export const commonBlendModes: {
1486
+ label: string;
1487
+ value: number;
1488
+ }[];
1489
+ /**
1490
+ * Used to populated the blendMode dropdown in our various tools (Node Editor, Inspector, etc.)
1491
+ * The below ParticleSystem consts were defined before new Engine alpha blend modes were added, so we have to reference
1492
+ * the ParticleSystem.FOO consts explicitly (as the underlying const values are different - they get mapped to engine consts within baseParticleSystem.ts)
1493
+ */
1494
+ export const blendModeOptions: {
1495
+ label: string;
1496
+ value: number;
1497
+ }[];
1498
+ /**
1499
+ * Used to populated the alphaMode dropdown in our various tools (Node Editor, Inspector, etc.)
1500
+ */
1501
+ export const alphaModeOptions: {
1502
+ label: string;
1503
+ value: number;
1504
+ }[];
1505
+
1480
1506
  }
1481
1507
  declare module "@babylonjs/node-editor/tabs/propertyGrids/lockObject" {
1482
1508
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/node-editor",
3
- "version": "8.3.0",
3
+ "version": "8.4.0",
4
4
  "main": "dist/babylon.nodeEditor.max.js",
5
5
  "module": "dist/babylon.nodeEditor.max.js",
6
6
  "esnext": "dist/babylon.nodeEditor.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
  },