babylonjs-inspector 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.
@@ -2156,7 +2156,7 @@ declare module INSPECTOR {
2156
2156
  edit(): void;
2157
2157
  renderTextures(): import("react/jsx-runtime").JSX.Element | null;
2158
2158
  renderInputBlock(block: BABYLON.InputBlock): import("react/jsx-runtime").JSX.Element | null;
2159
- renderInputValues(): import("react/jsx-runtime").JSX.Element;
2159
+ renderInputValues(): import("react/jsx-runtime").JSX.Element | undefined;
2160
2160
  render(): import("react/jsx-runtime").JSX.Element;
2161
2161
  }
2162
2162
 
@@ -3847,6 +3847,38 @@ declare module INSPECTOR.SharedUIComponents {
3847
3847
 
3848
3848
 
3849
3849
 
3850
+ }
3851
+ declare module INSPECTOR {
3852
+
3853
+
3854
+ }
3855
+ declare module INSPECTOR.SharedUIComponents {
3856
+ /**
3857
+ * Used by both particleSystem and alphaBlendModes
3858
+ */
3859
+ export var commonBlendModes: {
3860
+ label: string;
3861
+ value: number;
3862
+ }[];
3863
+ /**
3864
+ * Used to populated the blendMode dropdown in our various tools (Node Editor, Inspector, etc.)
3865
+ * The below ParticleSystem consts were defined before new Engine alpha blend modes were added, so we have to reference
3866
+ * the ParticleSystem.FOO consts explicitly (as the underlying var values are different - they get mapped to engine consts within baseParticleSystem.ts)
3867
+ */
3868
+ export var blendModeOptions: {
3869
+ label: string;
3870
+ value: number;
3871
+ }[];
3872
+ /**
3873
+ * Used to populated the alphaMode dropdown in our various tools (Node Editor, Inspector, etc.)
3874
+ */
3875
+ export var alphaModeOptions: {
3876
+ label: string;
3877
+ value: number;
3878
+ }[];
3879
+
3880
+
3881
+
3850
3882
  }
3851
3883
  declare module INSPECTOR {
3852
3884
 
@@ -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
  /**
@@ -10386,7 +10412,7 @@ declare module INSPECTOR {
10386
10412
  edit(): void;
10387
10413
  renderTextures(): import("react/jsx-runtime").JSX.Element | null;
10388
10414
  renderInputBlock(block: BABYLON.InputBlock): import("react/jsx-runtime").JSX.Element | null;
10389
- renderInputValues(): import("react/jsx-runtime").JSX.Element;
10415
+ renderInputValues(): import("react/jsx-runtime").JSX.Element | undefined;
10390
10416
  render(): import("react/jsx-runtime").JSX.Element;
10391
10417
  }
10392
10418
 
@@ -12077,6 +12103,38 @@ declare module INSPECTOR.SharedUIComponents {
12077
12103
 
12078
12104
 
12079
12105
 
12106
+ }
12107
+ declare module INSPECTOR {
12108
+
12109
+
12110
+ }
12111
+ declare module INSPECTOR.SharedUIComponents {
12112
+ /**
12113
+ * Used by both particleSystem and alphaBlendModes
12114
+ */
12115
+ export var commonBlendModes: {
12116
+ label: string;
12117
+ value: number;
12118
+ }[];
12119
+ /**
12120
+ * Used to populated the blendMode dropdown in our various tools (Node Editor, Inspector, etc.)
12121
+ * The below ParticleSystem consts were defined before new Engine alpha blend modes were added, so we have to reference
12122
+ * the ParticleSystem.FOO consts explicitly (as the underlying var values are different - they get mapped to engine consts within baseParticleSystem.ts)
12123
+ */
12124
+ export var blendModeOptions: {
12125
+ label: string;
12126
+ value: number;
12127
+ }[];
12128
+ /**
12129
+ * Used to populated the alphaMode dropdown in our various tools (Node Editor, Inspector, etc.)
12130
+ */
12131
+ export var alphaModeOptions: {
12132
+ label: string;
12133
+ value: number;
12134
+ }[];
12135
+
12136
+
12137
+
12080
12138
  }
12081
12139
  declare module INSPECTOR {
12082
12140
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-inspector",
3
- "version": "8.3.1",
3
+ "version": "8.4.0",
4
4
  "main": "babylon.inspector.bundle.max.js",
5
5
  "types": "babylon.inspector.module.d.ts",
6
6
  "files": [
@@ -14,12 +14,12 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^8.3.1",
18
- "babylonjs-gui": "^8.3.1",
19
- "babylonjs-gui-editor": "^8.3.1",
20
- "babylonjs-loaders": "^8.3.1",
21
- "babylonjs-materials": "^8.3.1",
22
- "babylonjs-serializers": "^8.3.1"
17
+ "babylonjs": "^8.4.0",
18
+ "babylonjs-gui": "^8.4.0",
19
+ "babylonjs-gui-editor": "^8.4.0",
20
+ "babylonjs-loaders": "^8.4.0",
21
+ "babylonjs-materials": "^8.4.0",
22
+ "babylonjs-serializers": "^8.4.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@dev/build-tools": "1.0.0",