babylonjs-gui-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.
@@ -1629,6 +1629,32 @@ export function getClassNameWithNamespace(obj: any): {
1629
1629
  babylonNamespace: string;
1630
1630
  };
1631
1631
 
1632
+ }
1633
+ declare module "babylonjs-gui-editor/constToOptionsMaps" {
1634
+ /**
1635
+ * Used by both particleSystem and alphaBlendModes
1636
+ */
1637
+ export const commonBlendModes: {
1638
+ label: string;
1639
+ value: number;
1640
+ }[];
1641
+ /**
1642
+ * Used to populated the blendMode dropdown in our various tools (Node Editor, Inspector, etc.)
1643
+ * The below ParticleSystem consts were defined before new Engine alpha blend modes were added, so we have to reference
1644
+ * the ParticleSystem.FOO consts explicitly (as the underlying const values are different - they get mapped to engine consts within baseParticleSystem.ts)
1645
+ */
1646
+ export const blendModeOptions: {
1647
+ label: string;
1648
+ value: number;
1649
+ }[];
1650
+ /**
1651
+ * Used to populated the alphaMode dropdown in our various tools (Node Editor, Inspector, etc.)
1652
+ */
1653
+ export const alphaModeOptions: {
1654
+ label: string;
1655
+ value: number;
1656
+ }[];
1657
+
1632
1658
  }
1633
1659
  declare module "babylonjs-gui-editor/tabs/propertyGrids/lockObject" {
1634
1660
  /**
@@ -6310,6 +6336,38 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
6310
6336
 
6311
6337
 
6312
6338
 
6339
+ }
6340
+ declare module BABYLON {
6341
+
6342
+
6343
+ }
6344
+ declare module BABYLON.GuiEditor.SharedUIComponents {
6345
+ /**
6346
+ * Used by both particleSystem and alphaBlendModes
6347
+ */
6348
+ export var commonBlendModes: {
6349
+ label: string;
6350
+ value: number;
6351
+ }[];
6352
+ /**
6353
+ * Used to populated the blendMode dropdown in our various tools (Node Editor, Inspector, etc.)
6354
+ * The below ParticleSystem consts were defined before new Engine alpha blend modes were added, so we have to reference
6355
+ * the ParticleSystem.FOO consts explicitly (as the underlying var values are different - they get mapped to engine consts within baseParticleSystem.ts)
6356
+ */
6357
+ export var blendModeOptions: {
6358
+ label: string;
6359
+ value: number;
6360
+ }[];
6361
+ /**
6362
+ * Used to populated the alphaMode dropdown in our various tools (Node Editor, Inspector, etc.)
6363
+ */
6364
+ export var alphaModeOptions: {
6365
+ label: string;
6366
+ value: number;
6367
+ }[];
6368
+
6369
+
6370
+
6313
6371
  }
6314
6372
  declare module BABYLON {
6315
6373
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui-editor",
3
- "version": "8.3.0",
3
+ "version": "8.4.0",
4
4
  "main": "babylon.guiEditor.max.js",
5
5
  "types": "babylon.guiEditor.module.d.ts",
6
6
  "files": [
@@ -14,8 +14,8 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^8.3.0",
18
- "babylonjs-gui": "^8.3.0"
17
+ "babylonjs": "^8.4.0",
18
+ "babylonjs-gui": "^8.4.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/build-tools": "1.0.0",