babylonjs-gui-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.
- package/babylon.guiEditor.d.ts +33 -0
- package/babylon.guiEditor.js +1 -1
- package/babylon.guiEditor.js.map +1 -1
- package/babylon.guiEditor.max.js +30 -25
- package/babylon.guiEditor.module.d.ts +60 -0
- package/package.json +3 -3
package/babylon.guiEditor.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
declare module BABYLON {
|
|
3
3
|
interface IGraphEditorProps {
|
|
4
4
|
globalState: GlobalState;
|
|
5
|
+
onReady?: () => Promise<void>;
|
|
5
6
|
}
|
|
6
7
|
interface IGraphEditorState {
|
|
7
8
|
showPreviewPopUp: boolean;
|
|
@@ -1333,6 +1334,38 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1333
1334
|
|
|
1334
1335
|
|
|
1335
1336
|
|
|
1337
|
+
}
|
|
1338
|
+
declare module BABYLON {
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
}
|
|
1342
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1343
|
+
/**
|
|
1344
|
+
* Used by both particleSystem and alphaBlendModes
|
|
1345
|
+
*/
|
|
1346
|
+
export var commonBlendModes: {
|
|
1347
|
+
label: string;
|
|
1348
|
+
value: number;
|
|
1349
|
+
}[];
|
|
1350
|
+
/**
|
|
1351
|
+
* Used to populated the blendMode dropdown in our various tools (Node Editor, Inspector, etc.)
|
|
1352
|
+
* The below ParticleSystem consts were defined before new Engine alpha blend modes were added, so we have to reference
|
|
1353
|
+
* the ParticleSystem.FOO consts explicitly (as the underlying var values are different - they get mapped to engine consts within baseParticleSystem.ts)
|
|
1354
|
+
*/
|
|
1355
|
+
export var blendModeOptions: {
|
|
1356
|
+
label: string;
|
|
1357
|
+
value: number;
|
|
1358
|
+
}[];
|
|
1359
|
+
/**
|
|
1360
|
+
* Used to populated the alphaMode dropdown in our various tools (Node Editor, Inspector, etc.)
|
|
1361
|
+
*/
|
|
1362
|
+
export var alphaModeOptions: {
|
|
1363
|
+
label: string;
|
|
1364
|
+
value: number;
|
|
1365
|
+
}[];
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
|
|
1336
1369
|
}
|
|
1337
1370
|
declare module BABYLON {
|
|
1338
1371
|
|