@babylonjs-toolkit/next 9.25.1 → 9.28.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.
Files changed (44) hide show
  1. package/lib/index.d.ts +35 -21
  2. package/lib/index.d.ts.map +1 -1
  3. package/lib/index.js +35 -21
  4. package/lib/particleconstantcurve.d.ts +3 -0
  5. package/lib/particleconstantcurve.d.ts.map +1 -0
  6. package/lib/particleconstantcurve.js +3 -0
  7. package/lib/particleconstantgradient.d.ts +3 -0
  8. package/lib/particleconstantgradient.d.ts.map +1 -0
  9. package/lib/particleconstantgradient.js +4 -0
  10. package/lib/particleemptytexture.d.ts +3 -0
  11. package/lib/particleemptytexture.d.ts.map +1 -0
  12. package/lib/particleemptytexture.js +1 -0
  13. package/lib/particlev2.d.ts +3 -0
  14. package/lib/particlev2.d.ts.map +1 -0
  15. package/lib/particlev2.js +1 -0
  16. package/lib/particlev3.d.ts +3 -0
  17. package/lib/particlev3.d.ts.map +1 -0
  18. package/lib/particlev3.js +1 -0
  19. package/lib/particlewhite.d.ts +3 -0
  20. package/lib/particlewhite.d.ts.map +1 -0
  21. package/lib/particlewhite.js +1 -0
  22. package/lib/project.d.ts +4 -118
  23. package/lib/project.d.ts.map +1 -1
  24. package/lib/project.js +65 -222
  25. package/lib/scenemanager.d.ts +6061 -831
  26. package/lib/scenemanager.d.ts.map +1 -1
  27. package/lib/scenemanager.js +44166 -15351
  28. package/lib/sgshadowdepth.d.ts +19 -0
  29. package/lib/sgshadowdepth.d.ts.map +1 -0
  30. package/lib/sgshadowdepth.js +214 -0
  31. package/lib/shadergraphfullscreen.d.ts +18 -0
  32. package/lib/shadergraphfullscreen.d.ts.map +1 -0
  33. package/lib/shadergraphfullscreen.js +22 -0
  34. package/lib/shadergraphlighttable.d.ts +7 -0
  35. package/lib/shadergraphlighttable.d.ts.map +1 -0
  36. package/lib/shadergraphlighttable.js +74 -0
  37. package/lib/unityscrollbar.d.ts.map +1 -1
  38. package/package.json +13 -13
  39. package/lib/iparticlesystemtransform.d.ts +0 -9
  40. package/lib/iparticlesystemtransform.d.ts.map +0 -1
  41. package/lib/iparticlesystemtransform.js +0 -1
  42. package/lib/perlin2d.d.ts +0 -9
  43. package/lib/perlin2d.d.ts.map +0 -1
  44. package/lib/perlin2d.js +0 -45
package/lib/index.d.ts CHANGED
@@ -19,7 +19,8 @@ export * from './linesmeshrenderer';
19
19
  export * from './entitycontroller';
20
20
  export * from './recastclassctor';
21
21
  export * from './irecastnavigationplugin';
22
- export * from './perlin2d';
22
+ export * from './shadergraphfullscreen';
23
+ export * from './sgshadowdepth';
23
24
  export * from './randomfn';
24
25
  export * from './noisefunction2d';
25
26
  export * from './noisefunction3d';
@@ -31,8 +32,14 @@ export * from './touchjoystickhandler';
31
32
  export * from './blendtreeposition';
32
33
  export * from './ianimationcurve';
33
34
  export * from './universalcharactercontroller';
35
+ export * from './particleconstantcurve';
36
+ export * from './particleconstantgradient';
37
+ export * from './particlewhite';
38
+ export * from './particlev2';
39
+ export * from './particlev3';
40
+ export * from './particleemptytexture';
34
41
  export * from './ipostprocessparameter';
35
- export * from './iparticlesystemtransform';
42
+ export * from './shadergraphlighttable';
36
43
  export * from './unityslider';
37
44
  export * from './unityscrollbar';
38
45
  export * from './unitydropdownmenu';
@@ -60,30 +67,37 @@ import * as _tk_17 from './linesmeshrenderer';
60
67
  import * as _tk_18 from './entitycontroller';
61
68
  import * as _tk_19 from './recastclassctor';
62
69
  import * as _tk_20 from './irecastnavigationplugin';
63
- import * as _tk_21 from './perlin2d';
64
- import * as _tk_22 from './randomfn';
65
- import * as _tk_23 from './noisefunction2d';
66
- import * as _tk_24 from './noisefunction3d';
67
- import * as _tk_25 from './noisefunction4d';
68
- import * as _tk_26 from './simplexnoise';
69
- import * as _tk_27 from './mousebuttonmode';
70
- import * as _tk_28 from './touchmousebutton';
71
- import * as _tk_29 from './touchjoystickhandler';
72
- import * as _tk_30 from './blendtreeposition';
73
- import * as _tk_31 from './ianimationcurve';
74
- import * as _tk_32 from './universalcharactercontroller';
75
- import * as _tk_33 from './ipostprocessparameter';
76
- import * as _tk_34 from './iparticlesystemtransform';
77
- import * as _tk_35 from './unityslider';
78
- import * as _tk_36 from './unityscrollbar';
79
- import * as _tk_37 from './unitydropdownmenu';
80
- import * as _tk_38 from './fontmanifestentry';
70
+ import * as _tk_21 from './shadergraphfullscreen';
71
+ import * as _tk_22 from './sgshadowdepth';
72
+ import * as _tk_23 from './randomfn';
73
+ import * as _tk_24 from './noisefunction2d';
74
+ import * as _tk_25 from './noisefunction3d';
75
+ import * as _tk_26 from './noisefunction4d';
76
+ import * as _tk_27 from './simplexnoise';
77
+ import * as _tk_28 from './mousebuttonmode';
78
+ import * as _tk_29 from './touchmousebutton';
79
+ import * as _tk_30 from './touchjoystickhandler';
80
+ import * as _tk_31 from './blendtreeposition';
81
+ import * as _tk_32 from './ianimationcurve';
82
+ import * as _tk_33 from './universalcharactercontroller';
83
+ import * as _tk_34 from './particleconstantcurve';
84
+ import * as _tk_35 from './particleconstantgradient';
85
+ import * as _tk_36 from './particlewhite';
86
+ import * as _tk_37 from './particlev2';
87
+ import * as _tk_38 from './particlev3';
88
+ import * as _tk_39 from './particleemptytexture';
89
+ import * as _tk_40 from './ipostprocessparameter';
90
+ import * as _tk_41 from './shadergraphlighttable';
91
+ import * as _tk_42 from './unityslider';
92
+ import * as _tk_43 from './unityscrollbar';
93
+ import * as _tk_44 from './unitydropdownmenu';
94
+ import * as _tk_45 from './fontmanifestentry';
81
95
  declare global {
82
96
  interface Window {
83
97
  BABYLON: typeof BABYLON & {
84
98
  GUI: typeof GUI;
85
99
  };
86
- TOOLKIT: typeof _tk_0 & typeof _tk_1 & typeof _tk_2 & typeof _tk_3 & typeof _tk_4 & typeof _tk_5 & typeof _tk_6 & typeof _tk_7 & typeof _tk_8 & typeof _tk_9 & typeof _tk_10 & typeof _tk_11 & typeof _tk_12 & typeof _tk_13 & typeof _tk_14 & typeof _tk_15 & typeof _tk_16 & typeof _tk_17 & typeof _tk_18 & typeof _tk_19 & typeof _tk_20 & typeof _tk_21 & typeof _tk_22 & typeof _tk_23 & typeof _tk_24 & typeof _tk_25 & typeof _tk_26 & typeof _tk_27 & typeof _tk_28 & typeof _tk_29 & typeof _tk_30 & typeof _tk_31 & typeof _tk_32 & typeof _tk_33 & typeof _tk_34 & typeof _tk_35 & typeof _tk_36 & typeof _tk_37 & typeof _tk_38;
100
+ TOOLKIT: typeof _tk_0 & typeof _tk_1 & typeof _tk_2 & typeof _tk_3 & typeof _tk_4 & typeof _tk_5 & typeof _tk_6 & typeof _tk_7 & typeof _tk_8 & typeof _tk_9 & typeof _tk_10 & typeof _tk_11 & typeof _tk_12 & typeof _tk_13 & typeof _tk_14 & typeof _tk_15 & typeof _tk_16 & typeof _tk_17 & typeof _tk_18 & typeof _tk_19 & typeof _tk_20 & typeof _tk_21 & typeof _tk_22 & typeof _tk_23 & typeof _tk_24 & typeof _tk_25 & typeof _tk_26 & typeof _tk_27 & typeof _tk_28 & typeof _tk_29 & typeof _tk_30 & typeof _tk_31 & typeof _tk_32 & typeof _tk_33 & typeof _tk_34 & typeof _tk_35 & typeof _tk_36 & typeof _tk_37 & typeof _tk_38 & typeof _tk_39 & typeof _tk_40 & typeof _tk_41 & typeof _tk_42 & typeof _tk_43 & typeof _tk_44 & typeof _tk_45;
87
101
  PROJECT: Record<string, unknown>;
88
102
  }
89
103
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cA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MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,CAAC;QAC7tB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACpC;CACJ"}
package/lib/index.js CHANGED
@@ -19,7 +19,8 @@ export * from './linesmeshrenderer';
19
19
  export * from './entitycontroller';
20
20
  export * from './recastclassctor';
21
21
  export * from './irecastnavigationplugin';
22
- export * from './perlin2d';
22
+ export * from './shadergraphfullscreen';
23
+ export * from './sgshadowdepth';
23
24
  export * from './randomfn';
24
25
  export * from './noisefunction2d';
25
26
  export * from './noisefunction3d';
@@ -31,8 +32,14 @@ export * from './touchjoystickhandler';
31
32
  export * from './blendtreeposition';
32
33
  export * from './ianimationcurve';
33
34
  export * from './universalcharactercontroller';
35
+ export * from './particleconstantcurve';
36
+ export * from './particleconstantgradient';
37
+ export * from './particlewhite';
38
+ export * from './particlev2';
39
+ export * from './particlev3';
40
+ export * from './particleemptytexture';
34
41
  export * from './ipostprocessparameter';
35
- export * from './iparticlesystemtransform';
42
+ export * from './shadergraphlighttable';
36
43
  export * from './unityslider';
37
44
  export * from './unityscrollbar';
38
45
  export * from './unitydropdownmenu';
@@ -60,27 +67,34 @@ import * as _tk_17 from './linesmeshrenderer';
60
67
  import * as _tk_18 from './entitycontroller';
61
68
  import * as _tk_19 from './recastclassctor';
62
69
  import * as _tk_20 from './irecastnavigationplugin';
63
- import * as _tk_21 from './perlin2d';
64
- import * as _tk_22 from './randomfn';
65
- import * as _tk_23 from './noisefunction2d';
66
- import * as _tk_24 from './noisefunction3d';
67
- import * as _tk_25 from './noisefunction4d';
68
- import * as _tk_26 from './simplexnoise';
69
- import * as _tk_27 from './mousebuttonmode';
70
- import * as _tk_28 from './touchmousebutton';
71
- import * as _tk_29 from './touchjoystickhandler';
72
- import * as _tk_30 from './blendtreeposition';
73
- import * as _tk_31 from './ianimationcurve';
74
- import * as _tk_32 from './universalcharactercontroller';
75
- import * as _tk_33 from './ipostprocessparameter';
76
- import * as _tk_34 from './iparticlesystemtransform';
77
- import * as _tk_35 from './unityslider';
78
- import * as _tk_36 from './unityscrollbar';
79
- import * as _tk_37 from './unitydropdownmenu';
80
- import * as _tk_38 from './fontmanifestentry';
70
+ import * as _tk_21 from './shadergraphfullscreen';
71
+ import * as _tk_22 from './sgshadowdepth';
72
+ import * as _tk_23 from './randomfn';
73
+ import * as _tk_24 from './noisefunction2d';
74
+ import * as _tk_25 from './noisefunction3d';
75
+ import * as _tk_26 from './noisefunction4d';
76
+ import * as _tk_27 from './simplexnoise';
77
+ import * as _tk_28 from './mousebuttonmode';
78
+ import * as _tk_29 from './touchmousebutton';
79
+ import * as _tk_30 from './touchjoystickhandler';
80
+ import * as _tk_31 from './blendtreeposition';
81
+ import * as _tk_32 from './ianimationcurve';
82
+ import * as _tk_33 from './universalcharactercontroller';
83
+ import * as _tk_34 from './particleconstantcurve';
84
+ import * as _tk_35 from './particleconstantgradient';
85
+ import * as _tk_36 from './particlewhite';
86
+ import * as _tk_37 from './particlev2';
87
+ import * as _tk_38 from './particlev3';
88
+ import * as _tk_39 from './particleemptytexture';
89
+ import * as _tk_40 from './ipostprocessparameter';
90
+ import * as _tk_41 from './shadergraphlighttable';
91
+ import * as _tk_42 from './unityslider';
92
+ import * as _tk_43 from './unityscrollbar';
93
+ import * as _tk_44 from './unitydropdownmenu';
94
+ import * as _tk_45 from './fontmanifestentry';
81
95
  if (typeof window !== 'undefined') {
82
96
  window.BABYLON = Object.assign({}, BABYLON, { GUI });
83
- window.TOOLKIT = Object.assign({}, _tk_0, _tk_1, _tk_2, _tk_3, _tk_4, _tk_5, _tk_6, _tk_7, _tk_8, _tk_9, _tk_10, _tk_11, _tk_12, _tk_13, _tk_14, _tk_15, _tk_16, _tk_17, _tk_18, _tk_19, _tk_20, _tk_21, _tk_22, _tk_23, _tk_24, _tk_25, _tk_26, _tk_27, _tk_28, _tk_29, _tk_30, _tk_31, _tk_32, _tk_33, _tk_34, _tk_35, _tk_36, _tk_37, _tk_38);
97
+ window.TOOLKIT = Object.assign({}, _tk_0, _tk_1, _tk_2, _tk_3, _tk_4, _tk_5, _tk_6, _tk_7, _tk_8, _tk_9, _tk_10, _tk_11, _tk_12, _tk_13, _tk_14, _tk_15, _tk_16, _tk_17, _tk_18, _tk_19, _tk_20, _tk_21, _tk_22, _tk_23, _tk_24, _tk_25, _tk_26, _tk_27, _tk_28, _tk_29, _tk_30, _tk_31, _tk_32, _tk_33, _tk_34, _tk_35, _tk_36, _tk_37, _tk_38, _tk_39, _tk_40, _tk_41, _tk_42, _tk_43, _tk_44, _tk_45);
84
98
  if (!window.PROJECT)
85
99
  window.PROJECT = {};
86
100
  }
@@ -0,0 +1,3 @@
1
+ import { IParticleMinMaxCurve } from './scenemanager';
2
+ export declare function particleConstantCurve(value: number): IParticleMinMaxCurve;
3
+ //# sourceMappingURL=particleconstantcurve.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"particleconstantcurve.d.ts","sourceRoot":"","sources":["../src/particleconstantcurve.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAEtD,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,oBAAoB,CAErE"}
@@ -0,0 +1,3 @@
1
+ export function particleConstantCurve(value) {
2
+ return { mode: 0, constant: value, constantMin: 0, constantMax: value, multiplier: 1 };
3
+ }
@@ -0,0 +1,3 @@
1
+ import { IParticleColor, IParticleMinMaxGradient } from './scenemanager';
2
+ export declare function particleConstantGradient(color: IParticleColor): IParticleMinMaxGradient;
3
+ //# sourceMappingURL=particleconstantgradient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"particleconstantgradient.d.ts","sourceRoot":"","sources":["../src/particleconstantgradient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAEzE,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,cAAc,GAAG,uBAAuB,CAGnF"}
@@ -0,0 +1,4 @@
1
+ export function particleConstantGradient(color) {
2
+ const c = (color != null) ? color : { r: 1, g: 1, b: 1, a: 1 };
3
+ return { mode: 0, color: { r: c.r, g: c.g, b: c.b, a: c.a }, colorMin: { r: c.r, g: c.g, b: c.b, a: c.a }, colorMax: { r: c.r, g: c.g, b: c.b, a: c.a } };
4
+ }
@@ -0,0 +1,3 @@
1
+ import { IParticleTextureReference } from './scenemanager';
2
+ export declare function particleEmptyTexture(): IParticleTextureReference;
3
+ //# sourceMappingURL=particleemptytexture.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"particleemptytexture.d.ts","sourceRoot":"","sources":["../src/particleemptytexture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAG3D,wBAAgB,oBAAoB,IAAI,yBAAyB,CAAiF"}
@@ -0,0 +1 @@
1
+ export function particleEmptyTexture() { return { url: null, type: "texture", width: 0, height: 0, exported: false }; }
@@ -0,0 +1,3 @@
1
+ import { IParticleVector2 } from './scenemanager';
2
+ export declare function particleV2(x: number, y: number): IParticleVector2;
3
+ //# sourceMappingURL=particlev2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"particlev2.d.ts","sourceRoot":"","sources":["../src/particlev2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAA2B"}
@@ -0,0 +1 @@
1
+ export function particleV2(x, y) { return { x: x, y: y }; }
@@ -0,0 +1,3 @@
1
+ import { IParticleVector3 } from './scenemanager';
2
+ export declare function particleV3(x: number, y: number, z: number): IParticleVector3;
3
+ //# sourceMappingURL=particlev3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"particlev3.d.ts","sourceRoot":"","sources":["../src/particlev3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAAiC"}
@@ -0,0 +1 @@
1
+ export function particleV3(x, y, z) { return { x: x, y: y, z: z }; }
@@ -0,0 +1,3 @@
1
+ import { IParticleColor } from './scenemanager';
2
+ export declare function particleWhite(): IParticleColor;
3
+ //# sourceMappingURL=particlewhite.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"particlewhite.d.ts","sourceRoot":"","sources":["../src/particlewhite.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,wBAAgB,aAAa,IAAI,cAAc,CAAuC"}
@@ -0,0 +1 @@
1
+ export function particleWhite() { return { r: 1, g: 1, b: 1, a: 1 }; }
package/lib/project.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type * as BABYLON from "@babylonjs/core/Legacy/legacy";
2
2
  declare const BABYLON: any;
3
- import { ScriptComponent, AudioSource, RigidbodyPhysics, AnimationState, ShurikenParticles, IUnityVector3, IUnityVector4, IUnityColor, RaycastVehicle, btWheelInfo, PlayerNumber, CustomShaderMaterial, CustomShaderMaterialPlugin, PreloadAssetsManager, IAssetPreloader, CharacterController } from './scenemanager';
3
+ import { ScriptComponent, AudioSource, RigidbodyPhysics, AnimationState, ShurikenParticles, IUnityVector3, IUnityVector4, RaycastVehicle, btWheelInfo, PlayerNumber, CustomShaderMaterial, CustomShaderMaterialPlugin, PreloadAssetsManager, IAssetPreloader, CharacterController } from './scenemanager';
4
4
  import { LocalMessageBus } from './localmessagebus';
5
5
  import { NoiseFunction2D } from './noisefunction2d';
6
6
  import { TouchJoystickHandler } from './touchjoystickhandler';
@@ -1038,7 +1038,6 @@ export interface IKartEmitterGroup {
1038
1038
  playing: boolean;
1039
1039
  placeholder: boolean;
1040
1040
  simulationSpace: number;
1041
- simulationSpaceApplied: boolean;
1042
1041
  }
1043
1042
  export declare class StandardKartEffects extends ScriptComponent {
1044
1043
  kart: IKartEffectsTarget;
@@ -1096,9 +1095,6 @@ export declare class StandardKartEffects extends ScriptComponent {
1096
1095
  protected applySparkColor(hex: string): void;
1097
1096
  protected writeGroupColor(name: string, hex: string): void;
1098
1097
  protected resolveMountNode(): BABYLON.TransformNode;
1099
- protected applySimulationSpace(group: IKartEmitterGroup): boolean;
1100
- protected ensureSimulationSpace(): void;
1101
- protected repairInvertedSizeRange(group: IKartEmitterGroup): void;
1102
1098
  protected resolveSimulationSpace(group: IKartEmitterGroup, kind: string): number;
1103
1099
  protected findChildNode(name: string): BABYLON.TransformNode;
1104
1100
  protected buildGroups(): void;
@@ -1204,6 +1200,7 @@ export declare class RaceTrackManager extends ScriptComponent {
1204
1200
  private p3n;
1205
1201
  private i;
1206
1202
  private static _EventBus;
1203
+ private static LiveManagers;
1207
1204
  static get EventBus(): LocalMessageBus;
1208
1205
  drawDebugLines: boolean;
1209
1206
  getTrackNodes(): ITrackNode[];
@@ -1391,6 +1388,7 @@ export declare class SkidMarkManager extends ScriptComponent {
1391
1388
  constructor(transform: BABYLON.TransformNode, scene: BABYLON.Scene, properties?: any, alias?: string);
1392
1389
  protected start(): void;
1393
1390
  protected update(): void;
1391
+ protected destroy(): void;
1394
1392
  static AddSkidMarkSegment(pos: BABYLON.Vector3, normal: BABYLON.Vector3, intensity: number, lastIndex: number): BABYLON.Nullable<number>;
1395
1393
  private static CreateSkidMarkManager;
1396
1394
  private static AddSkidMarkVertexData;
@@ -2197,10 +2195,6 @@ export declare class DefaultCameraSystem extends ScriptComponent {
2197
2195
  private static startupMode;
2198
2196
  private static cameraReady;
2199
2197
  private static cameraInstance;
2200
- private static renderingPipeline;
2201
- private static screenSpacePipeline;
2202
- static GetRenderingPipeline(): BABYLON.DefaultRenderingPipeline;
2203
- static GetScreenSpacePipeline(): BABYLON.SSAORenderingPipeline;
2204
2198
  static IsCameraSystemReady(): boolean;
2205
2199
  static OnXRExperienceHelperObservable: any;
2206
2200
  static FOLLOW_SPEED: number;
@@ -2215,7 +2209,6 @@ export declare class DefaultCameraSystem extends ScriptComponent {
2215
2209
  private setPointerLock;
2216
2210
  private setCameraTarget;
2217
2211
  private setSpatialAudio;
2218
- private editorPostProcessing;
2219
2212
  protected m_cameraRig: BABYLON.TargetCamera;
2220
2213
  isMainCamera(): boolean;
2221
2214
  getCameraType(): number;
@@ -2232,7 +2225,6 @@ export declare class DefaultCameraSystem extends ScriptComponent {
2232
2225
  protected updateCameraSystemState(): void;
2233
2226
  protected cleanCameraSystemState(): void;
2234
2227
  protected destroyCameraSystemState(): void;
2235
- static FindExistingRenderingPipeline(scene: BABYLON.Scene): BABYLON.DefaultRenderingPipeline;
2236
2228
  targetCameraOffset: BABYLON.Vector3;
2237
2229
  getCameraPivotPosition(): BABYLON.Vector3;
2238
2230
  getCameraPivotRotation(): BABYLON.Quaternion;
@@ -2286,113 +2278,6 @@ export interface IEditorArcRtotate {
2286
2278
  radius: number;
2287
2279
  target: IUnityVector3;
2288
2280
  }
2289
- export interface IEditorPostProcessing {
2290
- usePostProcessing: boolean;
2291
- highDynamicRange: boolean;
2292
- screenAntiAliasing: IEditorAntiAliasing;
2293
- focalDepthOfField: IEditorDepthOfField;
2294
- chromaticAberration: IEditorChromaticAberration;
2295
- glowLayerProperties: IEditorGlowLayer;
2296
- grainEffectProperties: IEditorGrainEffect;
2297
- sharpEffectProperties: IEditorSharpenEffect;
2298
- bloomEffectProperties: IEditorBloomProcessing;
2299
- imageProcessingConfig: IEditorImageProcessing;
2300
- screenSpaceRendering: IEditorScreenSpace;
2301
- }
2302
- export interface IEditorScreenSpace {
2303
- SSAO: boolean;
2304
- SSAORatio: number;
2305
- combineRatio: number;
2306
- totalStrength: number;
2307
- radius: number;
2308
- area: number;
2309
- fallOff: number;
2310
- baseValue: number;
2311
- }
2312
- export interface IEditorAntiAliasing {
2313
- msaaSamples: number;
2314
- fxaaEnabled: boolean;
2315
- fxaaScaling: boolean;
2316
- fxaaSamples: number;
2317
- }
2318
- export interface IEditorDepthOfField {
2319
- depthOfField: boolean;
2320
- blurLevel: number;
2321
- focalStop: number;
2322
- focalLength: number;
2323
- focusDistance: number;
2324
- maxLensSize: number;
2325
- }
2326
- export interface IEditorChromaticAberration {
2327
- aberrationEnabled: boolean;
2328
- aberrationAmount: number;
2329
- adaptScaleViewport: boolean;
2330
- alphaMode: number;
2331
- alwaysForcePOT: boolean;
2332
- pixelPerfectMode: boolean;
2333
- fullscreenViewport: boolean;
2334
- }
2335
- export interface IEditorGlowLayer {
2336
- glowEnabled: boolean;
2337
- glowIntensity: number;
2338
- blurKernelSize: number;
2339
- }
2340
- export interface IEditorGrainEffect {
2341
- grainEnabled: boolean;
2342
- grainAnimated: boolean;
2343
- grainIntensity: number;
2344
- adaptScaleViewport: boolean;
2345
- }
2346
- export interface IEditorSharpenEffect {
2347
- sharpenEnabled: boolean;
2348
- sharpEdgeAmount: number;
2349
- sharpColorAmount: number;
2350
- adaptScaleViewport: boolean;
2351
- }
2352
- export interface IEditorBloomProcessing {
2353
- bloomEnabled: boolean;
2354
- bloomKernel: number;
2355
- bloomScale: number;
2356
- bloomWeight: number;
2357
- bloomThreshold: number;
2358
- }
2359
- export interface IEditorColorCurves {
2360
- curvesEnabled: boolean;
2361
- globalDen: number;
2362
- globalExp: number;
2363
- globalHue: number;
2364
- globalSat: number;
2365
- highlightsDen: number;
2366
- highlightsExp: number;
2367
- highlightsHue: number;
2368
- highlightsSat: number;
2369
- midtonesDen: number;
2370
- midtonesExp: number;
2371
- midtonesHue: number;
2372
- midtonesSat: number;
2373
- shadowsDen: number;
2374
- shadowsExp: number;
2375
- shadowsHue: number;
2376
- shadowsSat: number;
2377
- }
2378
- export interface IEditorImageProcessing {
2379
- imageProcessing: boolean;
2380
- imageContrast: number;
2381
- imageExposure: number;
2382
- toneMapping: boolean;
2383
- toneMapType: number;
2384
- vignetteEnabled: boolean;
2385
- vignetteBlendMode: number;
2386
- vignetteCameraFov: number;
2387
- vignetteStretch: number;
2388
- vignetteCentreX: number;
2389
- vignetteCentreY: number;
2390
- vignetteWeight: number;
2391
- vignetteColor: IUnityColor;
2392
- useColorGrading: boolean;
2393
- setGradingTexture: any;
2394
- imagingColorCurves: IEditorColorCurves;
2395
- }
2396
2281
  export declare class DebugInformation extends ScriptComponent {
2397
2282
  static GetVersion(): string;
2398
2283
  private keys;
@@ -3368,6 +3253,7 @@ export declare class SceneSoundSystem extends ScriptComponent {
3368
3253
  static get SFX(): SoundManager;
3369
3254
  constructor(transform: BABYLON.TransformNode, scene: BABYLON.Scene, properties?: any, alias?: string);
3370
3255
  protected start(): void;
3256
+ protected destroy(): void;
3371
3257
  }
3372
3258
  export declare class SoundManager extends ScriptComponent {
3373
3259
  private groupName;