babylonjs-node-editor 8.3.1 → 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
  /**
@@ -5934,6 +5960,38 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
5934
5960
 
5935
5961
 
5936
5962
 
5963
+ }
5964
+ declare module BABYLON.NodeEditor {
5965
+
5966
+
5967
+ }
5968
+ declare module BABYLON.NodeEditor.SharedUIComponents {
5969
+ /**
5970
+ * Used by both particleSystem and alphaBlendModes
5971
+ */
5972
+ export var commonBlendModes: {
5973
+ label: string;
5974
+ value: number;
5975
+ }[];
5976
+ /**
5977
+ * Used to populated the blendMode dropdown in our various tools (Node Editor, Inspector, etc.)
5978
+ * The below ParticleSystem consts were defined before new Engine alpha blend modes were added, so we have to reference
5979
+ * the ParticleSystem.FOO consts explicitly (as the underlying var values are different - they get mapped to engine consts within baseParticleSystem.ts)
5980
+ */
5981
+ export var blendModeOptions: {
5982
+ label: string;
5983
+ value: number;
5984
+ }[];
5985
+ /**
5986
+ * Used to populated the alphaMode dropdown in our various tools (Node Editor, Inspector, etc.)
5987
+ */
5988
+ export var alphaModeOptions: {
5989
+ label: string;
5990
+ value: number;
5991
+ }[];
5992
+
5993
+
5994
+
5937
5995
  }
5938
5996
  declare module BABYLON.NodeEditor {
5939
5997
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-node-editor",
3
- "version": "8.3.1",
3
+ "version": "8.4.0",
4
4
  "main": "babylon.nodeEditor.js",
5
5
  "types": "babylon.nodeEditor.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.3.1"
17
+ "babylonjs": "^8.4.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",