@babylonjs/node-geometry-editor 8.3.1 → 8.4.1

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.
@@ -1128,6 +1128,32 @@ export function getClassNameWithNamespace(obj: any): {
1128
1128
  babylonNamespace: string;
1129
1129
  };
1130
1130
 
1131
+ }
1132
+ declare module "@babylonjs/node-geometry-editor/constToOptionsMaps" {
1133
+ /**
1134
+ * Used by both particleSystem and alphaBlendModes
1135
+ */
1136
+ export const commonBlendModes: {
1137
+ label: string;
1138
+ value: number;
1139
+ }[];
1140
+ /**
1141
+ * Used to populated the blendMode dropdown in our various tools (Node Editor, Inspector, etc.)
1142
+ * The below ParticleSystem consts were defined before new Engine alpha blend modes were added, so we have to reference
1143
+ * the ParticleSystem.FOO consts explicitly (as the underlying const values are different - they get mapped to engine consts within baseParticleSystem.ts)
1144
+ */
1145
+ export const blendModeOptions: {
1146
+ label: string;
1147
+ value: number;
1148
+ }[];
1149
+ /**
1150
+ * Used to populated the alphaMode dropdown in our various tools (Node Editor, Inspector, etc.)
1151
+ */
1152
+ export const alphaModeOptions: {
1153
+ label: string;
1154
+ value: number;
1155
+ }[];
1156
+
1131
1157
  }
1132
1158
  declare module "@babylonjs/node-geometry-editor/tabs/propertyGrids/lockObject" {
1133
1159
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/node-geometry-editor",
3
- "version": "8.3.1",
3
+ "version": "8.4.1",
4
4
  "main": "dist/babylon.nodeGeometryEditor.max.js",
5
5
  "module": "dist/babylon.nodeGeometryEditor.max.js",
6
6
  "esnext": "dist/babylon.nodeGeometryEditor.max.js",
@@ -23,7 +23,7 @@
23
23
  "@types/react-dom": ">=16.0.9"
24
24
  },
25
25
  "devDependencies": {
26
- "@babylonjs/core": "^8.3.1",
26
+ "@babylonjs/core": "^8.4.1",
27
27
  "react": "^18.2.0",
28
28
  "react-dom": "^18.2.0"
29
29
  },