@babylonjs/inspector 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.
@@ -4882,6 +4882,32 @@ export function getClassNameWithNamespace(obj: any): {
4882
4882
  babylonNamespace: string;
4883
4883
  };
4884
4884
 
4885
+ }
4886
+ declare module "@babylonjs/inspector/constToOptionsMaps" {
4887
+ /**
4888
+ * Used by both particleSystem and alphaBlendModes
4889
+ */
4890
+ export const commonBlendModes: {
4891
+ label: string;
4892
+ value: number;
4893
+ }[];
4894
+ /**
4895
+ * Used to populated the blendMode dropdown in our various tools (Node Editor, Inspector, etc.)
4896
+ * The below ParticleSystem consts were defined before new Engine alpha blend modes were added, so we have to reference
4897
+ * the ParticleSystem.FOO consts explicitly (as the underlying const values are different - they get mapped to engine consts within baseParticleSystem.ts)
4898
+ */
4899
+ export const blendModeOptions: {
4900
+ label: string;
4901
+ value: number;
4902
+ }[];
4903
+ /**
4904
+ * Used to populated the alphaMode dropdown in our various tools (Node Editor, Inspector, etc.)
4905
+ */
4906
+ export const alphaModeOptions: {
4907
+ label: string;
4908
+ value: number;
4909
+ }[];
4910
+
4885
4911
  }
4886
4912
  declare module "@babylonjs/inspector/tabs/propertyGrids/lockObject" {
4887
4913
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "8.3.0",
3
+ "version": "8.4.0",
4
4
  "module": "dist/babylon.inspector.bundle.max.js",
5
5
  "main": "dist/babylon.inspector.bundle.max.js",
6
6
  "typings": "dist/babylon.inspector.module.d.ts",
@@ -32,12 +32,12 @@
32
32
  "@types/react-dom": ">=16.0.9"
33
33
  },
34
34
  "devDependencies": {
35
- "@babylonjs/core": "^8.3.0",
36
- "@babylonjs/gui": "^8.3.0",
37
- "@babylonjs/gui-editor": "^8.3.0",
38
- "@babylonjs/loaders": "^8.3.0",
39
- "@babylonjs/materials": "^8.3.0",
40
- "@babylonjs/serializers": "^8.3.0",
35
+ "@babylonjs/core": "^8.4.0",
36
+ "@babylonjs/gui": "^8.4.0",
37
+ "@babylonjs/gui-editor": "^8.4.0",
38
+ "@babylonjs/loaders": "^8.4.0",
39
+ "@babylonjs/materials": "^8.4.0",
40
+ "@babylonjs/serializers": "^8.4.0",
41
41
  "@lts/gui": "1.0.0",
42
42
  "react": "^18.2.0",
43
43
  "react-dom": "^18.2.0"