babylonjs-loaders 9.0.0 → 9.2.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.
@@ -1,5 +1,5 @@
1
1
 
2
- declare module BABYLON {
2
+ declare namespace BABYLON {
3
3
 
4
4
 
5
5
  /**
@@ -10,6 +10,26 @@ declare module BABYLON {
10
10
 
11
11
 
12
12
 
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
13
33
 
14
34
  /**
15
35
  * Configuration for glTF validation
@@ -601,13 +621,12 @@ declare module BABYLON {
601
621
 
602
622
 
603
623
  }
604
- declare module BABYLON.GLTF2 {
624
+ declare namespace BABYLON.GLTF2 {
605
625
  /**
606
626
  * Material Loading Adapter for PBR materials that provides a unified OpenPBR-like interface.
607
627
  */
608
628
  export class PBRMaterialLoadingAdapter implements BABYLON.GLTF2.IMaterialLoadingAdapter {
609
629
  private _material;
610
- private _extinctionCoefficient;
611
630
  /**
612
631
  * Creates a new instance of the PBRMaterialLoadingAdapter.
613
632
  * @param material - The PBR material to adapt.
@@ -1024,6 +1043,7 @@ declare module BABYLON.GLTF2 {
1024
1043
  * @returns The scatter coefficient as a Color3
1025
1044
  */
1026
1045
  get transmissionScatter(): Color3;
1046
+ set transmissionScatterTexture(value: Nullable<BaseTexture>);
1027
1047
  /**
1028
1048
  * Sets the transmission scattering anisotropy.
1029
1049
  * @param value The anisotropy intensity value (-1 to 1)
@@ -1054,6 +1074,15 @@ declare module BABYLON.GLTF2 {
1054
1074
  * Sets up the material for proper thin-surface transmission behavior.
1055
1075
  */
1056
1076
  configureTransmission(): void;
1077
+ configureVolume(): void;
1078
+ /**
1079
+ * Sets whether the material is thin-walled (i.e. non-volumetric) or not.
1080
+ */
1081
+ set geometryThinWalled(value: boolean);
1082
+ /**
1083
+ * Gets whether the material is thin-walled (i.e. non-volumetric) or not.
1084
+ */
1085
+ get geometryThinWalled(): boolean;
1057
1086
  /**
1058
1087
  * Sets the thickness texture (mapped to PBR subSurface.thicknessTexture).
1059
1088
  * Automatically enables refraction.
@@ -1070,15 +1099,6 @@ declare module BABYLON.GLTF2 {
1070
1099
  * Configures subsurface properties for PBR material
1071
1100
  */
1072
1101
  configureSubsurface(): void;
1073
- /**
1074
- * Sets the extinction coefficient of the volume.
1075
- * @param value The extinction coefficient as a Vector3
1076
- */
1077
- set extinctionCoefficient(value: Vector3);
1078
- /**
1079
- * Gets the extinction coefficient of the volume.
1080
- */
1081
- get extinctionCoefficient(): Vector3;
1082
1102
  /**
1083
1103
  * Sets the subsurface weight
1084
1104
  */
@@ -1105,17 +1125,17 @@ declare module BABYLON.GLTF2 {
1105
1125
  /**
1106
1126
  * Sets the surface tint of the material (when using subsurface scattering)
1107
1127
  */
1108
- set subsurfaceConstantTint(value: Color3);
1128
+ set diffuseTransmissionTint(value: Color3);
1109
1129
  /**
1110
1130
  * Gets the subsurface constant tint (when using subsurface scattering)
1111
1131
  * @returns The subsurface constant tint as a Color3
1112
1132
  */
1113
- get subsurfaceConstantTint(): Color3;
1133
+ get diffuseTransmissionTint(): Color3;
1114
1134
  /**
1115
1135
  * Sets the subsurface constant tint texture (when using subsurface scattering)
1116
1136
  * @param value The subsurface constant tint texture or null
1117
1137
  */
1118
- set subsurfaceConstantTintTexture(value: Nullable<BaseTexture>);
1138
+ set diffuseTransmissionTintTexture(value: Nullable<BaseTexture>);
1119
1139
  /**
1120
1140
  * Gets the subsurface radius (used for subsurface scattering)
1121
1141
  * subsurfaceRadiusScale * subsurfaceRadius gives the mean free path per color channel.
@@ -1146,6 +1166,11 @@ declare module BABYLON.GLTF2 {
1146
1166
  * @param value The anisotropy intensity value (ignored for PBR)
1147
1167
  */
1148
1168
  set subsurfaceScatterAnisotropy(value: number);
1169
+ /**
1170
+ * Does this material have a translucent surface (i.e. either transmission or subsurface)?
1171
+ * @returns True if the material is translucent, false otherwise
1172
+ */
1173
+ isTranslucent(): boolean;
1149
1174
  /**
1150
1175
  * Configures sheen for PBR material.
1151
1176
  * Enables sheen and sets up proper configuration.
@@ -1304,17 +1329,16 @@ declare module BABYLON.GLTF2 {
1304
1329
 
1305
1330
 
1306
1331
  }
1307
- declare module BABYLON {
1332
+ declare namespace BABYLON {
1308
1333
 
1309
1334
 
1310
1335
  }
1311
- declare module BABYLON.GLTF2 {
1336
+ declare namespace BABYLON.GLTF2 {
1312
1337
  /**
1313
1338
  * Material Loading Adapter for OpenPBR materials that provides a unified OpenPBR-like interface.
1314
1339
  */
1315
1340
  export class OpenPBRMaterialLoadingAdapter implements BABYLON.GLTF2.IMaterialLoadingAdapter {
1316
1341
  private _material;
1317
- private _extinctionCoefficient;
1318
1342
  /**
1319
1343
  * Creates a new instance of the OpenPBRMaterialLoadingAdapter.
1320
1344
  * @param material - The OpenPBR material to adapt.
@@ -1706,7 +1730,15 @@ declare module BABYLON.GLTF2 {
1706
1730
  * @returns The scatter coefficient as a Vector3
1707
1731
  */
1708
1732
  get transmissionScatter(): Color3;
1733
+ /**
1734
+ * Sets the transmission scatter texture.
1735
+ * @param value The transmission scatter texture or null
1736
+ */
1709
1737
  set transmissionScatterTexture(value: Nullable<BaseTexture>);
1738
+ /**
1739
+ * Gets the transmission scatter texture.
1740
+ * @returns The transmission scatter texture or null
1741
+ */
1710
1742
  get transmissionScatterTexture(): Nullable<BaseTexture>;
1711
1743
  /**
1712
1744
  * Sets the transmission scattering anisotropy.
@@ -1751,6 +1783,15 @@ declare module BABYLON.GLTF2 {
1751
1783
  * @param value The refraction background texture or null
1752
1784
  */
1753
1785
  set refractionBackgroundTexture(value: Nullable<BaseTexture>);
1786
+ configureVolume(): void;
1787
+ /**
1788
+ * Sets whether the material is thin-walled (i.e. non-volumetric) or not.
1789
+ */
1790
+ set geometryThinWalled(value: boolean);
1791
+ /**
1792
+ * Gets whether the material is thin-walled (i.e. non-volumetric) or not.
1793
+ */
1794
+ get geometryThinWalled(): boolean;
1754
1795
  /**
1755
1796
  * Sets the thickness texture.
1756
1797
  * @param value The thickness texture or null
@@ -1765,15 +1806,6 @@ declare module BABYLON.GLTF2 {
1765
1806
  * Configures subsurface properties for PBR material
1766
1807
  */
1767
1808
  configureSubsurface(): void;
1768
- /**
1769
- * Sets the extinction coefficient of the volume.
1770
- * @param value The extinction coefficient as a Vector3
1771
- */
1772
- set extinctionCoefficient(value: Vector3);
1773
- /**
1774
- * Gets the extinction coefficient of the volume.
1775
- */
1776
- get extinctionCoefficient(): Vector3;
1777
1809
  /**
1778
1810
  * Sets the subsurface weight
1779
1811
  */
@@ -1793,18 +1825,20 @@ declare module BABYLON.GLTF2 {
1793
1825
  * @param value The subsurface tint texture or null
1794
1826
  */
1795
1827
  set subsurfaceColorTexture(value: Nullable<BaseTexture>);
1828
+ private _diffuseTransmissionTint;
1829
+ private _diffuseTransmissionTintTexture;
1796
1830
  /**
1797
- * Sets the surface tint of the material (when using subsurface scattering)
1831
+ * Sets the diffuse transmission tint of the material
1798
1832
  */
1799
- set subsurfaceConstantTint(value: Color3);
1833
+ set diffuseTransmissionTint(value: Color3);
1800
1834
  /**
1801
- * Gets the surface tint of the material (when using subsurface scattering)
1835
+ * Gets the diffuse transmission tint of the material
1802
1836
  */
1803
- get subsurfaceConstantTint(): Color3;
1837
+ get diffuseTransmissionTint(): Color3;
1804
1838
  /**
1805
- * Sets the surface tint texture of the material (when using subsurface scattering)
1839
+ * Sets the diffuse transmission tint texture of the material
1806
1840
  */
1807
- set subsurfaceConstantTintTexture(value: Nullable<BaseTexture>);
1841
+ set diffuseTransmissionTintTexture(value: Nullable<BaseTexture>);
1808
1842
  /**
1809
1843
  * Gets the subsurface radius for subsurface scattering.
1810
1844
  * subsurfaceRadiusScale * subsurfaceRadius gives the mean free path per color channel.
@@ -1832,6 +1866,11 @@ declare module BABYLON.GLTF2 {
1832
1866
  * @param value The anisotropy intensity value
1833
1867
  */
1834
1868
  set subsurfaceScatterAnisotropy(value: number);
1869
+ /**
1870
+ * Does this material have a translucent surface (i.e. either transmission or subsurface)?
1871
+ * @returns True if the material is translucent, false otherwise
1872
+ */
1873
+ isTranslucent(): boolean;
1835
1874
  /**
1836
1875
  * Configures fuzz for OpenPBR.
1837
1876
  * Enables fuzz and sets up proper configuration.
@@ -1975,16 +2014,17 @@ declare module BABYLON.GLTF2 {
1975
2014
  * @param value The scale value for the coat normal texture
1976
2015
  */
1977
2016
  set geometryCoatNormalTextureScale(value: number);
2017
+ finalize(): void;
1978
2018
  }
1979
2019
 
1980
2020
 
1981
2021
 
1982
2022
  }
1983
- declare module BABYLON {
2023
+ declare namespace BABYLON {
1984
2024
 
1985
2025
 
1986
2026
  }
1987
- declare module BABYLON.GLTF2 {
2027
+ declare namespace BABYLON.GLTF2 {
1988
2028
  /**
1989
2029
  * Interface for material loading adapters that provides a unified OpenPBR-like interface
1990
2030
  * for both OpenPBR and PBR materials, eliminating conditional branches in extensions.
@@ -1994,6 +2034,10 @@ declare module BABYLON.GLTF2 {
1994
2034
  * Gets the underlying material
1995
2035
  */
1996
2036
  readonly material: Material;
2037
+ /**
2038
+ * Finalizes material properties after loading is complete.
2039
+ */
2040
+ finalize?(): void;
1997
2041
  /**
1998
2042
  * Whether the material should be treated as unlit
1999
2043
  */
@@ -2175,6 +2219,10 @@ declare module BABYLON.GLTF2 {
2175
2219
  * Sets the scattering coefficient
2176
2220
  */
2177
2221
  transmissionScatter: Color3;
2222
+ /**
2223
+ * Sets the transmission scatter texture
2224
+ */
2225
+ transmissionScatterTexture: Nullable<BaseTexture>;
2178
2226
  /**
2179
2227
  * Sets the scattering anisotropy (-1 to 1)
2180
2228
  */
@@ -2195,6 +2243,11 @@ declare module BABYLON.GLTF2 {
2195
2243
  * Configures transmission for thin-surface transmission (KHR_materials_transmission)
2196
2244
  */
2197
2245
  configureTransmission(): void;
2246
+ configureVolume(): void;
2247
+ /**
2248
+ * Sets whether the material is thin-walled (i.e. non-volumetric) or not.
2249
+ */
2250
+ geometryThinWalled: boolean;
2198
2251
  /**
2199
2252
  * Sets the thickness texture
2200
2253
  */
@@ -2207,11 +2260,6 @@ declare module BABYLON.GLTF2 {
2207
2260
  * Configures subsurface properties
2208
2261
  */
2209
2262
  configureSubsurface(): void;
2210
- /**
2211
- * @internal
2212
- * Sets/gets the extinction coefficient
2213
- */
2214
- extinctionCoefficient: Vector3;
2215
2263
  /**
2216
2264
  * Sets/gets the subsurface weight
2217
2265
  */
@@ -2229,13 +2277,13 @@ declare module BABYLON.GLTF2 {
2229
2277
  */
2230
2278
  subsurfaceColorTexture: Nullable<BaseTexture>;
2231
2279
  /**
2232
- * Sets/gets the surface tint of the material (when using subsurface scattering)
2280
+ * Sets/gets the diffuse transmission tint of the material
2233
2281
  */
2234
- subsurfaceConstantTint: Color3;
2282
+ diffuseTransmissionTint: Color3;
2235
2283
  /**
2236
- * Sets/gets the surface tint texture of the material (when using subsurface scattering)
2284
+ * Sets/gets the diffuse transmission tint texture of the material
2237
2285
  */
2238
- subsurfaceConstantTintTexture: Nullable<BaseTexture>;
2286
+ diffuseTransmissionTintTexture: Nullable<BaseTexture>;
2239
2287
  /**
2240
2288
  * Sets/gets the subsurface radius (used for subsurface scattering)
2241
2289
  */
@@ -2248,6 +2296,10 @@ declare module BABYLON.GLTF2 {
2248
2296
  * Sets/gets the subsurface scattering anisotropy
2249
2297
  */
2250
2298
  subsurfaceScatterAnisotropy: number;
2299
+ /**
2300
+ * Does this material have a translucent surface (i.e. either transmission or subsurface)?
2301
+ */
2302
+ isTranslucent(): boolean;
2251
2303
  /**
2252
2304
  * Configures initial settings for fuzz for material.
2253
2305
  */
@@ -2348,20 +2400,20 @@ declare module BABYLON.GLTF2 {
2348
2400
 
2349
2401
 
2350
2402
  }
2351
- declare module BABYLON {
2403
+ declare namespace BABYLON {
2352
2404
 
2353
2405
 
2354
2406
  }
2355
- declare module BABYLON.GLTF2 {
2407
+ declare namespace BABYLON.GLTF2 {
2356
2408
 
2357
2409
 
2358
2410
 
2359
2411
  }
2360
- declare module BABYLON {
2412
+ declare namespace BABYLON {
2361
2413
 
2362
2414
 
2363
2415
  }
2364
- declare module BABYLON.GLTF2.Loader {
2416
+ declare namespace BABYLON.GLTF2.Loader {
2365
2417
  /**
2366
2418
  * Loader interface with an index field.
2367
2419
  */
@@ -2618,11 +2670,11 @@ declare module BABYLON.GLTF2.Loader {
2618
2670
 
2619
2671
 
2620
2672
  }
2621
- declare module BABYLON {
2673
+ declare namespace BABYLON {
2622
2674
 
2623
2675
 
2624
2676
  }
2625
- declare module BABYLON.GLTF2 {
2677
+ declare namespace BABYLON.GLTF2 {
2626
2678
  interface IRegisteredGLTFExtension {
2627
2679
  isGLTFExtension: boolean;
2628
2680
  factory: GLTFExtensionFactory;
@@ -2649,11 +2701,11 @@ declare module BABYLON.GLTF2 {
2649
2701
 
2650
2702
 
2651
2703
  }
2652
- declare module BABYLON {
2704
+ declare namespace BABYLON {
2653
2705
 
2654
2706
 
2655
2707
  }
2656
- declare module BABYLON.GLTF2 {
2708
+ declare namespace BABYLON.GLTF2 {
2657
2709
  /**
2658
2710
  * Interface for a glTF loader extension.
2659
2711
  */
@@ -2808,11 +2860,11 @@ declare module BABYLON.GLTF2 {
2808
2860
 
2809
2861
 
2810
2862
  }
2811
- declare module BABYLON {
2863
+ declare namespace BABYLON {
2812
2864
 
2813
2865
 
2814
2866
  }
2815
- declare module BABYLON.GLTF2 {
2867
+ declare namespace BABYLON.GLTF2 {
2816
2868
  /** @internal */
2817
2869
  export type GetValueFn = (target: any, source: Float32Array, offset: number, scale: number) => any;
2818
2870
  /** @internal */
@@ -2855,11 +2907,11 @@ declare module BABYLON.GLTF2 {
2855
2907
 
2856
2908
 
2857
2909
  }
2858
- declare module BABYLON {
2910
+ declare namespace BABYLON {
2859
2911
 
2860
2912
 
2861
2913
  }
2862
- declare module BABYLON.GLTF2 {
2914
+ declare namespace BABYLON.GLTF2 {
2863
2915
  interface IWithMetadata {
2864
2916
  metadata: any;
2865
2917
  _internalMetadata: any;
@@ -2931,6 +2983,7 @@ declare module BABYLON.GLTF2 {
2931
2983
  private _defaultBabylonMaterialData;
2932
2984
  private readonly _postSceneLoadActions;
2933
2985
  private readonly _materialAdapterCache;
2986
+ private readonly _materialAdapters;
2934
2987
  /** @internal */
2935
2988
  _pbrMaterialImpl: Nullable<Readonly<PBRMaterialImplementation>> | false;
2936
2989
  /**
@@ -3287,11 +3340,11 @@ declare module BABYLON.GLTF2 {
3287
3340
 
3288
3341
 
3289
3342
  }
3290
- declare module BABYLON {
3343
+ declare namespace BABYLON {
3291
3344
 
3292
3345
 
3293
3346
  }
3294
- declare module BABYLON.GLTF2.Loader.Extensions {
3347
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3295
3348
  export interface IGLTFObjectModelTree {
3296
3349
  cameras: IGLTFObjectModelTreeCamerasObject;
3297
3350
  nodes: IGLTFObjectModelTreeNodesObject;
@@ -3586,20 +3639,20 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3586
3639
 
3587
3640
 
3588
3641
  }
3589
- declare module BABYLON {
3642
+ declare namespace BABYLON {
3590
3643
 
3591
3644
 
3592
3645
  }
3593
- declare module BABYLON.GLTF2.Loader.Extensions {
3646
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3594
3647
 
3595
3648
 
3596
3649
 
3597
3650
  }
3598
- declare module BABYLON {
3651
+ declare namespace BABYLON {
3599
3652
 
3600
3653
 
3601
3654
  }
3602
- declare module BABYLON.GLTF2.Loader.Extensions {
3655
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3603
3656
  /**
3604
3657
  * Adding an exception here will break traversing through the glTF object tree.
3605
3658
  * This is used for properties that might not be in the glTF object model, but are optional and have a default value.
@@ -3646,11 +3699,11 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3646
3699
 
3647
3700
 
3648
3701
  }
3649
- declare module BABYLON {
3702
+ declare namespace BABYLON {
3650
3703
 
3651
3704
 
3652
3705
  }
3653
- declare module BABYLON.GLTF2.Loader.Extensions {
3706
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3654
3707
  /**
3655
3708
  * Registers the built-in glTF 2.0 extension async factories, which dynamically imports and loads each glTF extension on demand (e.g. only when a glTF model uses the extension).
3656
3709
  */
@@ -3659,11 +3712,11 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3659
3712
 
3660
3713
 
3661
3714
  }
3662
- declare module BABYLON {
3715
+ declare namespace BABYLON {
3663
3716
 
3664
3717
 
3665
3718
  }
3666
- declare module BABYLON.GLTF2.Loader.Extensions {
3719
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3667
3720
  /** @internal */
3668
3721
  export class MSFT_sRGBFactors implements BABYLON.GLTF2.IGLTFLoaderExtension {
3669
3722
  /** @internal */
@@ -3682,7 +3735,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3682
3735
 
3683
3736
 
3684
3737
  }
3685
- declare module BABYLON {
3738
+ declare namespace BABYLON {
3686
3739
  interface GLTFLoaderExtensionOptions {
3687
3740
  /**
3688
3741
  * Defines options for the MSFT_sRGBFactors extension.
@@ -3691,7 +3744,7 @@ declare module BABYLON {
3691
3744
  }
3692
3745
 
3693
3746
  }
3694
- declare module BABYLON.GLTF2.Loader.Extensions {
3747
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3695
3748
  /** @internal */
3696
3749
  export class MSFT_minecraftMesh implements BABYLON.GLTF2.IGLTFLoaderExtension {
3697
3750
  /** @internal */
@@ -3710,7 +3763,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3710
3763
 
3711
3764
 
3712
3765
  }
3713
- declare module BABYLON {
3766
+ declare namespace BABYLON {
3714
3767
  interface GLTFLoaderExtensionOptions {
3715
3768
  /**
3716
3769
  * Defines options for the MSFT_minecraftMesh extension.
@@ -3719,7 +3772,7 @@ declare module BABYLON {
3719
3772
  }
3720
3773
 
3721
3774
  }
3722
- declare module BABYLON.GLTF2.Loader.Extensions {
3775
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3723
3776
  /**
3724
3777
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/MSFT_lod/README.md)
3725
3778
  */
@@ -3806,7 +3859,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3806
3859
 
3807
3860
 
3808
3861
  }
3809
- declare module BABYLON {
3862
+ declare namespace BABYLON {
3810
3863
  interface GLTFLoaderExtensionOptions {
3811
3864
  /**
3812
3865
  * Defines options for the MSFT_lod extension.
@@ -3820,7 +3873,7 @@ declare module BABYLON {
3820
3873
  }
3821
3874
 
3822
3875
  }
3823
- declare module BABYLON.GLTF2.Loader.Extensions {
3876
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3824
3877
  /**
3825
3878
  * [Specification](https://github.com/najadojo/glTF/blob/MSFT_audio_emitter/extensions/2.0/Vendor/MSFT_audio_emitter/README.md)
3826
3879
  * !!! Experimental Extension Subject to Changes !!!
@@ -3866,7 +3919,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3866
3919
 
3867
3920
 
3868
3921
  }
3869
- declare module BABYLON {
3922
+ declare namespace BABYLON {
3870
3923
  interface GLTFLoaderExtensionOptions {
3871
3924
  /**
3872
3925
  * Defines options for the MSFT_audio_emitter extension.
@@ -3875,7 +3928,7 @@ declare module BABYLON {
3875
3928
  }
3876
3929
 
3877
3930
  }
3878
- declare module BABYLON.GLTF2.Loader.Extensions {
3931
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3879
3932
  /**
3880
3933
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_xmp_json_ld/README.md)
3881
3934
  * @since 5.0.0
@@ -3909,7 +3962,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3909
3962
 
3910
3963
 
3911
3964
  }
3912
- declare module BABYLON {
3965
+ declare namespace BABYLON {
3913
3966
  interface GLTFLoaderExtensionOptions {
3914
3967
  /**
3915
3968
  * Defines options for the KHR_xmp_json_ld extension.
@@ -3918,7 +3971,7 @@ declare module BABYLON {
3918
3971
  }
3919
3972
 
3920
3973
  }
3921
- declare module BABYLON.GLTF2.Loader.Extensions {
3974
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3922
3975
  /**
3923
3976
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_texture_transform/README.md)
3924
3977
  */
@@ -3947,7 +4000,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3947
4000
 
3948
4001
 
3949
4002
  }
3950
- declare module BABYLON {
4003
+ declare namespace BABYLON {
3951
4004
  interface GLTFLoaderExtensionOptions {
3952
4005
  /**
3953
4006
  * Defines options for the KHR_texture_transform extension.
@@ -3956,7 +4009,7 @@ declare module BABYLON {
3956
4009
  }
3957
4010
 
3958
4011
  }
3959
- declare module BABYLON.GLTF2.Loader.Extensions {
4012
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3960
4013
  /**
3961
4014
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_texture_basisu/README.md)
3962
4015
  */
@@ -3981,7 +4034,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3981
4034
 
3982
4035
 
3983
4036
  }
3984
- declare module BABYLON {
4037
+ declare namespace BABYLON {
3985
4038
  interface GLTFLoaderExtensionOptions {
3986
4039
  /**
3987
4040
  * Defines options for the KHR_texture_basisu extension.
@@ -3990,7 +4043,7 @@ declare module BABYLON {
3990
4043
  }
3991
4044
 
3992
4045
  }
3993
- declare module BABYLON.GLTF2.Loader.Extensions {
4046
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3994
4047
  /**
3995
4048
  * Loader extension for KHR_node_visibility
3996
4049
  */
@@ -4015,7 +4068,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4015
4068
 
4016
4069
 
4017
4070
  }
4018
- declare module BABYLON {
4071
+ declare namespace BABYLON {
4019
4072
  interface GLTFLoaderExtensionOptions {
4020
4073
  /**
4021
4074
  * Defines options for the KHR_node_visibility extension.
@@ -4024,7 +4077,7 @@ declare module BABYLON {
4024
4077
  }
4025
4078
 
4026
4079
  }
4027
- declare module BABYLON.GLTF2.Loader.Extensions {
4080
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4028
4081
  /**
4029
4082
  * Loader extension for KHR_selectability
4030
4083
  */
@@ -4049,7 +4102,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4049
4102
 
4050
4103
 
4051
4104
  }
4052
- declare module BABYLON {
4105
+ declare namespace BABYLON {
4053
4106
  interface GLTFLoaderExtensionOptions {
4054
4107
  /**
4055
4108
  * Defines options for the KHR_selectability extension.
@@ -4058,7 +4111,7 @@ declare module BABYLON {
4058
4111
  }
4059
4112
 
4060
4113
  }
4061
- declare module BABYLON.GLTF2.Loader.Extensions {
4114
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4062
4115
  /**
4063
4116
  * Loader extension for KHR_node_hoverability
4064
4117
  * @see https://github.com/KhronosGroup/glTF/pull/2426
@@ -4084,7 +4137,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4084
4137
 
4085
4138
 
4086
4139
  }
4087
- declare module BABYLON {
4140
+ declare namespace BABYLON {
4088
4141
  interface GLTFLoaderExtensionOptions {
4089
4142
  /**
4090
4143
  * Defines options for the KHR_node_hoverability extension.
@@ -4093,7 +4146,7 @@ declare module BABYLON {
4093
4146
  }
4094
4147
 
4095
4148
  }
4096
- declare module BABYLON.GLTF2.Loader.Extensions {
4149
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4097
4150
  /**
4098
4151
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_mesh_quantization/README.md)
4099
4152
  */
@@ -4117,7 +4170,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4117
4170
 
4118
4171
 
4119
4172
  }
4120
- declare module BABYLON {
4173
+ declare namespace BABYLON {
4121
4174
  interface GLTFLoaderExtensionOptions {
4122
4175
  /**
4123
4176
  * Defines options for the KHR_mesh_quantization extension.
@@ -4126,7 +4179,7 @@ declare module BABYLON {
4126
4179
  }
4127
4180
 
4128
4181
  }
4129
- declare module BABYLON.GLTF2.Loader.Extensions {
4182
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4130
4183
  /**
4131
4184
  * TODO: In-progress specification
4132
4185
  * [Specification](https://github.com/KhronosGroup/glTF/blob/7ea427ed55d44427e83c0a6d1c87068b1a4151c5/extensions/2.0/Khronos/KHR_materials_volume_scatter/README.md)
@@ -4163,7 +4216,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4163
4216
 
4164
4217
 
4165
4218
  }
4166
- declare module BABYLON {
4219
+ declare namespace BABYLON {
4167
4220
  interface GLTFLoaderExtensionOptions {
4168
4221
  /**
4169
4222
  * Defines options for the KHR_materials_volume_scatter extension.
@@ -4172,7 +4225,7 @@ declare module BABYLON {
4172
4225
  }
4173
4226
 
4174
4227
  }
4175
- declare module BABYLON.GLTF2.Loader.Extensions {
4228
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4176
4229
  /**
4177
4230
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_volume/README.md)
4178
4231
  * @since 5.0.0
@@ -4207,7 +4260,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4207
4260
 
4208
4261
 
4209
4262
  }
4210
- declare module BABYLON {
4263
+ declare namespace BABYLON {
4211
4264
  interface GLTFLoaderExtensionOptions {
4212
4265
  /**
4213
4266
  * Defines options for the KHR_materials_volume extension.
@@ -4216,7 +4269,7 @@ declare module BABYLON {
4216
4269
  }
4217
4270
 
4218
4271
  }
4219
- declare module BABYLON.GLTF2.Loader.Extensions {
4272
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4220
4273
  /**
4221
4274
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_variants/README.md)
4222
4275
  */
@@ -4297,7 +4350,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4297
4350
 
4298
4351
 
4299
4352
  }
4300
- declare module BABYLON {
4353
+ declare namespace BABYLON {
4301
4354
  type MaterialVariantsController = {
4302
4355
  /**
4303
4356
  * The list of available variant names for this asset.
@@ -4326,7 +4379,7 @@ declare module BABYLON {
4326
4379
  }
4327
4380
 
4328
4381
  }
4329
- declare module BABYLON.GLTF2.Loader.Extensions {
4382
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4330
4383
  /**
4331
4384
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_unlit/README.md)
4332
4385
  */
@@ -4360,7 +4413,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4360
4413
 
4361
4414
 
4362
4415
  }
4363
- declare module BABYLON {
4416
+ declare namespace BABYLON {
4364
4417
  interface GLTFLoaderExtensionOptions {
4365
4418
  /**
4366
4419
  * Defines options for the KHR_materials_unlit extension.
@@ -4369,7 +4422,7 @@ declare module BABYLON {
4369
4422
  }
4370
4423
 
4371
4424
  }
4372
- declare module BABYLON.GLTF2.Loader.Extensions {
4425
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4373
4426
  /**
4374
4427
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_transmission/README.md)
4375
4428
  */
@@ -4403,7 +4456,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4403
4456
 
4404
4457
 
4405
4458
  }
4406
- declare module BABYLON {
4459
+ declare namespace BABYLON {
4407
4460
  interface GLTFLoaderExtensionOptions {
4408
4461
  /**
4409
4462
  * Defines options for the KHR_materials_transmission extension.
@@ -4412,7 +4465,7 @@ declare module BABYLON {
4412
4465
  }
4413
4466
 
4414
4467
  }
4415
- declare module BABYLON.GLTF2.Loader.Extensions {
4468
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4416
4469
  /**
4417
4470
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_specular/README.md)
4418
4471
  */
@@ -4446,7 +4499,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4446
4499
 
4447
4500
 
4448
4501
  }
4449
- declare module BABYLON {
4502
+ declare namespace BABYLON {
4450
4503
  interface GLTFLoaderExtensionOptions {
4451
4504
  /**
4452
4505
  * Defines options for the KHR_materials_specular extension.
@@ -4455,7 +4508,7 @@ declare module BABYLON {
4455
4508
  }
4456
4509
 
4457
4510
  }
4458
- declare module BABYLON.GLTF2.Loader.Extensions {
4511
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4459
4512
  /**
4460
4513
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_sheen/README.md)
4461
4514
  * [Playground Sample](https://www.babylonjs-playground.com/frame.html#BNIZX6#4)
@@ -4490,7 +4543,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4490
4543
 
4491
4544
 
4492
4545
  }
4493
- declare module BABYLON {
4546
+ declare namespace BABYLON {
4494
4547
  interface GLTFLoaderExtensionOptions {
4495
4548
  /**
4496
4549
  * Defines options for the KHR_materials_sheen extension.
@@ -4499,7 +4552,7 @@ declare module BABYLON {
4499
4552
  }
4500
4553
 
4501
4554
  }
4502
- declare module BABYLON.GLTF2.Loader.Extensions {
4555
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4503
4556
  /**
4504
4557
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Archived/KHR_materials_pbrSpecularGlossiness/README.md)
4505
4558
  */
@@ -4533,7 +4586,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4533
4586
 
4534
4587
 
4535
4588
  }
4536
- declare module BABYLON {
4589
+ declare namespace BABYLON {
4537
4590
  interface GLTFLoaderExtensionOptions {
4538
4591
  /**
4539
4592
  * Defines options for the KHR_materials_pbrSpecularGlossiness extension.
@@ -4542,7 +4595,7 @@ declare module BABYLON {
4542
4595
  }
4543
4596
 
4544
4597
  }
4545
- declare module BABYLON.GLTF2.Loader.Extensions {
4598
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4546
4599
  /**
4547
4600
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_iridescence/README.md)
4548
4601
  */
@@ -4576,7 +4629,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4576
4629
 
4577
4630
 
4578
4631
  }
4579
- declare module BABYLON {
4632
+ declare namespace BABYLON {
4580
4633
  interface GLTFLoaderExtensionOptions {
4581
4634
  /**
4582
4635
  * Defines options for the KHR_materials_iridescence extension.
@@ -4585,7 +4638,7 @@ declare module BABYLON {
4585
4638
  }
4586
4639
 
4587
4640
  }
4588
- declare module BABYLON.GLTF2.Loader.Extensions {
4641
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4589
4642
  /**
4590
4643
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_ior/README.md)
4591
4644
  */
@@ -4623,7 +4676,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4623
4676
 
4624
4677
 
4625
4678
  }
4626
- declare module BABYLON {
4679
+ declare namespace BABYLON {
4627
4680
  interface GLTFLoaderExtensionOptions {
4628
4681
  /**
4629
4682
  * Defines options for the KHR_materials_ior extension.
@@ -4632,7 +4685,7 @@ declare module BABYLON {
4632
4685
  }
4633
4686
 
4634
4687
  }
4635
- declare module BABYLON.GLTF2.Loader.Extensions {
4688
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4636
4689
  /**
4637
4690
  * [Specification](https://github.com/KhronosGroup/glTF/blob/9734e44accd0dfb986ec5f376117aa00192745fe/extensions/2.0/Khronos/KHR_materials_fuzz/README.md)
4638
4691
  * @experimental
@@ -4667,7 +4720,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4667
4720
 
4668
4721
 
4669
4722
  }
4670
- declare module BABYLON {
4723
+ declare namespace BABYLON {
4671
4724
  interface GLTFLoaderExtensionOptions {
4672
4725
  /**
4673
4726
  * Defines options for the KHR_materials_fuzz extension.
@@ -4676,7 +4729,7 @@ declare module BABYLON {
4676
4729
  }
4677
4730
 
4678
4731
  }
4679
- declare module BABYLON.GLTF2.Loader.Extensions {
4732
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4680
4733
  /**
4681
4734
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_emissive_strength/README.md)
4682
4735
  */
@@ -4710,7 +4763,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4710
4763
 
4711
4764
 
4712
4765
  }
4713
- declare module BABYLON {
4766
+ declare namespace BABYLON {
4714
4767
  interface GLTFLoaderExtensionOptions {
4715
4768
  /**
4716
4769
  * Defines options for the KHR_materials_emissive_strength extension.
@@ -4719,7 +4772,7 @@ declare module BABYLON {
4719
4772
  }
4720
4773
 
4721
4774
  }
4722
- declare module BABYLON.GLTF2.Loader.Extensions {
4775
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4723
4776
  /**
4724
4777
  * [Specification](https://github.com/KhronosGroup/glTF/blob/87bd64a7f5e23c84b6aef2e6082069583ed0ddb4/extensions/2.0/Khronos/KHR_materials_dispersion/README.md)
4725
4778
  * @experimental
@@ -4754,7 +4807,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4754
4807
 
4755
4808
 
4756
4809
  }
4757
- declare module BABYLON {
4810
+ declare namespace BABYLON {
4758
4811
  interface GLTFLoaderExtensionOptions {
4759
4812
  /**
4760
4813
  * Defines options for the KHR_materials_dispersion extension.
@@ -4763,7 +4816,7 @@ declare module BABYLON {
4763
4816
  }
4764
4817
 
4765
4818
  }
4766
- declare module BABYLON.GLTF2.Loader.Extensions {
4819
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4767
4820
  /**
4768
4821
  * [Proposed Specification](https://github.com/KhronosGroup/glTF/pull/1825)
4769
4822
  * !!! Experimental Extension Subject to Changes !!!
@@ -4798,7 +4851,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4798
4851
 
4799
4852
 
4800
4853
  }
4801
- declare module BABYLON {
4854
+ declare namespace BABYLON {
4802
4855
  interface GLTFLoaderExtensionOptions {
4803
4856
  /**
4804
4857
  * Defines options for the KHR_materials_diffuse_transmission extension.
@@ -4807,7 +4860,7 @@ declare module BABYLON {
4807
4860
  }
4808
4861
 
4809
4862
  }
4810
- declare module BABYLON.GLTF2.Loader.Extensions {
4863
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4811
4864
  /**
4812
4865
  * [Specification](https://github.com/KhronosGroup/glTF/blob/b102d2d2b40d44a8776800bb2bf85e218853c17d/extensions/2.0/Khronos/KHR_materials_diffuse_roughness/README.md)
4813
4866
  * @experimental
@@ -4842,7 +4895,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4842
4895
 
4843
4896
 
4844
4897
  }
4845
- declare module BABYLON {
4898
+ declare namespace BABYLON {
4846
4899
  interface GLTFLoaderExtensionOptions {
4847
4900
  /**
4848
4901
  * Defines options for the KHR_materials_diffuse_roughness extension.
@@ -4851,7 +4904,7 @@ declare module BABYLON {
4851
4904
  }
4852
4905
 
4853
4906
  }
4854
- declare module BABYLON.GLTF2.Loader.Extensions {
4907
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4855
4908
  /**
4856
4909
  * [Specification](https://github.com/KhronosGroup/glTF/blob/6cb2cb84b504c245c49cf2e9a8ae16d26f72ac97/extensions/2.0/Khronos/KHR_materials_coat/README.md)
4857
4910
  * @experimental
@@ -4892,7 +4945,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4892
4945
 
4893
4946
 
4894
4947
  }
4895
- declare module BABYLON {
4948
+ declare namespace BABYLON {
4896
4949
  interface GLTFLoaderExtensionOptions {
4897
4950
  /**
4898
4951
  * Defines options for the KHR_materials_coat extension.
@@ -4901,7 +4954,7 @@ declare module BABYLON {
4901
4954
  }
4902
4955
 
4903
4956
  }
4904
- declare module BABYLON.GLTF2.Loader.Extensions {
4957
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4905
4958
  /**
4906
4959
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_clearcoat/README.md)
4907
4960
  * [Playground Sample](https://www.babylonjs-playground.com/frame.html#7F7PN6#8)
@@ -4936,7 +4989,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4936
4989
 
4937
4990
 
4938
4991
  }
4939
- declare module BABYLON {
4992
+ declare namespace BABYLON {
4940
4993
  interface GLTFLoaderExtensionOptions {
4941
4994
  /**
4942
4995
  * Defines options for the KHR_materials_clearcoat extension.
@@ -4945,7 +4998,7 @@ declare module BABYLON {
4945
4998
  }
4946
4999
 
4947
5000
  }
4948
- declare module BABYLON.GLTF2.Loader.Extensions {
5001
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4949
5002
  /**
4950
5003
  * [Specification](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_anisotropy)
4951
5004
  */
@@ -4979,7 +5032,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4979
5032
 
4980
5033
 
4981
5034
  }
4982
- declare module BABYLON {
5035
+ declare namespace BABYLON {
4983
5036
  interface GLTFLoaderExtensionOptions {
4984
5037
  /**
4985
5038
  * Defines options for the KHR_materials_anisotropy extension.
@@ -4988,7 +5041,7 @@ declare module BABYLON {
4988
5041
  }
4989
5042
 
4990
5043
  }
4991
- declare module BABYLON.GLTF2.Loader.Extensions {
5044
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4992
5045
  /**
4993
5046
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_lights_punctual/README.md)
4994
5047
  */
@@ -5021,7 +5074,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5021
5074
 
5022
5075
 
5023
5076
  }
5024
- declare module BABYLON {
5077
+ declare namespace BABYLON {
5025
5078
  interface GLTFLoaderExtensionOptions {
5026
5079
  /**
5027
5080
  * Defines options for the KHR_lights_punctual extension.
@@ -5030,7 +5083,7 @@ declare module BABYLON {
5030
5083
  }
5031
5084
 
5032
5085
  }
5033
- declare module BABYLON.GLTF2.Loader.Extensions {
5086
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5034
5087
  /**
5035
5088
  * Loader extension for KHR_interactivity
5036
5089
  */
@@ -5062,7 +5115,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5062
5115
 
5063
5116
 
5064
5117
  }
5065
- declare module BABYLON {
5118
+ declare namespace BABYLON {
5066
5119
  interface GLTFLoaderExtensionOptions {
5067
5120
  /**
5068
5121
  * Defines options for the KHR_interactivity extension.
@@ -5071,7 +5124,7 @@ declare module BABYLON {
5071
5124
  }
5072
5125
 
5073
5126
  }
5074
- declare module BABYLON.GLTF2.Loader.Extensions {
5127
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5075
5128
  /**
5076
5129
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_draco_mesh_compression/README.md)
5077
5130
  */
@@ -5108,7 +5161,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5108
5161
 
5109
5162
 
5110
5163
  }
5111
- declare module BABYLON {
5164
+ declare namespace BABYLON {
5112
5165
  interface GLTFLoaderExtensionOptions {
5113
5166
  /**
5114
5167
  * Defines options for the KHR_draco_mesh_compression extension.
@@ -5117,16 +5170,16 @@ declare module BABYLON {
5117
5170
  }
5118
5171
 
5119
5172
  }
5120
- declare module BABYLON.GLTF2.Loader.Extensions {
5173
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5121
5174
 
5122
5175
 
5123
5176
 
5124
5177
  }
5125
- declare module BABYLON {
5178
+ declare namespace BABYLON {
5126
5179
 
5127
5180
 
5128
5181
  }
5129
- declare module BABYLON.GLTF2.Loader.Extensions {
5182
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5130
5183
  /**
5131
5184
  * [Specification PR](https://github.com/KhronosGroup/glTF/pull/2147)
5132
5185
  * !!! Experimental Extension Subject to Changes !!!
@@ -5163,7 +5216,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5163
5216
 
5164
5217
 
5165
5218
  }
5166
- declare module BABYLON {
5219
+ declare namespace BABYLON {
5167
5220
  interface GLTFLoaderExtensionOptions {
5168
5221
  /**
5169
5222
  * Defines options for the KHR_animation_pointer extension.
@@ -5172,7 +5225,7 @@ declare module BABYLON {
5172
5225
  }
5173
5226
 
5174
5227
  }
5175
- declare module BABYLON.GLTF2.Loader.Extensions {
5228
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5176
5229
  /**
5177
5230
  * Store glTF extras (if present) in BJS objects' metadata
5178
5231
  */
@@ -5214,7 +5267,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5214
5267
 
5215
5268
 
5216
5269
  }
5217
- declare module BABYLON {
5270
+ declare namespace BABYLON {
5218
5271
  interface GLTFLoaderExtensionOptions {
5219
5272
  /**
5220
5273
  * Defines options for the ExtrasAsMetadata extension.
@@ -5223,7 +5276,7 @@ declare module BABYLON {
5223
5276
  }
5224
5277
 
5225
5278
  }
5226
- declare module BABYLON.GLTF2.Loader.Extensions {
5279
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5227
5280
  /**
5228
5281
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_texture_webp/README.md)
5229
5282
  */
@@ -5248,7 +5301,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5248
5301
 
5249
5302
 
5250
5303
  }
5251
- declare module BABYLON {
5304
+ declare namespace BABYLON {
5252
5305
  interface GLTFLoaderExtensionOptions {
5253
5306
  /**
5254
5307
  * Defines options for the EXT_texture_webp extension.
@@ -5257,7 +5310,7 @@ declare module BABYLON {
5257
5310
  }
5258
5311
 
5259
5312
  }
5260
- declare module BABYLON.GLTF2.Loader.Extensions {
5313
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5261
5314
  /**
5262
5315
  * [glTF PR](https://github.com/KhronosGroup/glTF/pull/2235)
5263
5316
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_texture_avif/README.md)
@@ -5283,7 +5336,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5283
5336
 
5284
5337
 
5285
5338
  }
5286
- declare module BABYLON {
5339
+ declare namespace BABYLON {
5287
5340
  interface GLTFLoaderExtensionOptions {
5288
5341
  /**
5289
5342
  * Defines options for the EXT_texture_avif extension.
@@ -5292,7 +5345,7 @@ declare module BABYLON {
5292
5345
  }
5293
5346
 
5294
5347
  }
5295
- declare module BABYLON.GLTF2.Loader.Extensions {
5348
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5296
5349
  /**
5297
5350
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_meshopt_compression/README.md)
5298
5351
  *
@@ -5324,7 +5377,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5324
5377
 
5325
5378
 
5326
5379
  }
5327
- declare module BABYLON {
5380
+ declare namespace BABYLON {
5328
5381
  interface GLTFLoaderExtensionOptions {
5329
5382
  /**
5330
5383
  * Defines options for the EXT_meshopt_compression extension.
@@ -5333,7 +5386,7 @@ declare module BABYLON {
5333
5386
  }
5334
5387
 
5335
5388
  }
5336
- declare module BABYLON.GLTF2.Loader.Extensions {
5389
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5337
5390
  /**
5338
5391
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_mesh_gpu_instancing/README.md)
5339
5392
  * [Playground Sample](https://playground.babylonjs.com/#QFIGLW#9)
@@ -5363,7 +5416,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5363
5416
 
5364
5417
 
5365
5418
  }
5366
- declare module BABYLON {
5419
+ declare namespace BABYLON {
5367
5420
  interface GLTFLoaderExtensionOptions {
5368
5421
  /**
5369
5422
  * Defines options for the EXT_mesh_gpu_instancing extension.
@@ -5372,7 +5425,7 @@ declare module BABYLON {
5372
5425
  }
5373
5426
 
5374
5427
  }
5375
- declare module BABYLON.GLTF2.Loader.Extensions {
5428
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5376
5429
  /** @internal */
5377
5430
  interface IEXTLightsImageBased_LightImageBased {
5378
5431
  _babylonTexture?: BaseTexture;
@@ -5410,7 +5463,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5410
5463
 
5411
5464
 
5412
5465
  }
5413
- declare module BABYLON {
5466
+ declare namespace BABYLON {
5414
5467
  interface GLTFLoaderExtensionOptions {
5415
5468
  /**
5416
5469
  * Defines options for the EXT_lights_image_based extension.
@@ -5419,7 +5472,7 @@ declare module BABYLON {
5419
5472
  }
5420
5473
 
5421
5474
  }
5422
- declare module BABYLON.GLTF2.Loader.Extensions {
5475
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5423
5476
  /**
5424
5477
  * [Specification](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Vendor/EXT_lights_ies)
5425
5478
  */
@@ -5452,7 +5505,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5452
5505
 
5453
5506
 
5454
5507
  }
5455
- declare module BABYLON {
5508
+ declare namespace BABYLON {
5456
5509
  interface GLTFLoaderExtensionOptions {
5457
5510
  /**
5458
5511
  * Defines options for the EXT_lights_ies extension.
@@ -5461,7 +5514,7 @@ declare module BABYLON {
5461
5514
  }
5462
5515
 
5463
5516
  }
5464
- declare module BABYLON.GLTF2.Loader.Extensions {
5517
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5465
5518
  /**
5466
5519
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_lights_area/README.md)
5467
5520
  */
@@ -5494,7 +5547,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5494
5547
 
5495
5548
 
5496
5549
  }
5497
- declare module BABYLON {
5550
+ declare namespace BABYLON {
5498
5551
  interface GLTFLoaderExtensionOptions {
5499
5552
  /**
5500
5553
  * Defines options for the EXT_lights_area extension.
@@ -5503,7 +5556,7 @@ declare module BABYLON {
5503
5556
  }
5504
5557
 
5505
5558
  }
5506
- declare module BABYLON.GLTF2.Loader.Extensions {
5559
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5507
5560
  export interface InteractivityEvent {
5508
5561
  eventId: string;
5509
5562
  eventData?: {
@@ -5573,20 +5626,20 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5573
5626
 
5574
5627
 
5575
5628
  }
5576
- declare module BABYLON {
5629
+ declare namespace BABYLON {
5577
5630
 
5578
5631
 
5579
5632
  }
5580
- declare module BABYLON.GLTF2.Loader.Extensions {
5633
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5581
5634
 
5582
5635
 
5583
5636
 
5584
5637
  }
5585
- declare module BABYLON {
5638
+ declare namespace BABYLON {
5586
5639
 
5587
5640
 
5588
5641
  }
5589
- declare module BABYLON.GLTF2.Loader.Extensions {
5642
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5590
5643
  /**
5591
5644
  * a configuration interface for this block
5592
5645
  */
@@ -5618,11 +5671,11 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5618
5671
 
5619
5672
 
5620
5673
  }
5621
- declare module BABYLON {
5674
+ declare namespace BABYLON {
5622
5675
 
5623
5676
 
5624
5677
  }
5625
- declare module BABYLON.GLTF2.Loader.Extensions {
5678
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5626
5679
  interface IGLTFToFlowGraphMappingObject {
5627
5680
  /**
5628
5681
  * The name of the property in the FlowGraph block.
@@ -5969,20 +6022,20 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5969
6022
 
5970
6023
 
5971
6024
  }
5972
- declare module BABYLON {
6025
+ declare namespace BABYLON {
5973
6026
 
5974
6027
 
5975
6028
  }
5976
- declare module BABYLON.GLTF1 {
6029
+ declare namespace BABYLON.GLTF1 {
5977
6030
 
5978
6031
 
5979
6032
 
5980
6033
  }
5981
- declare module BABYLON {
6034
+ declare namespace BABYLON {
5982
6035
 
5983
6036
 
5984
6037
  }
5985
- declare module BABYLON.GLTF1 {
6038
+ declare namespace BABYLON.GLTF1 {
5986
6039
  /**
5987
6040
  * @internal
5988
6041
  * @deprecated
@@ -5997,11 +6050,11 @@ declare module BABYLON.GLTF1 {
5997
6050
 
5998
6051
 
5999
6052
  }
6000
- declare module BABYLON {
6053
+ declare namespace BABYLON {
6001
6054
 
6002
6055
 
6003
6056
  }
6004
- declare module BABYLON.GLTF1 {
6057
+ declare namespace BABYLON.GLTF1 {
6005
6058
  /**
6006
6059
  * Utils functions for GLTF
6007
6060
  * @internal
@@ -6071,11 +6124,11 @@ declare module BABYLON.GLTF1 {
6071
6124
 
6072
6125
 
6073
6126
  }
6074
- declare module BABYLON {
6127
+ declare namespace BABYLON {
6075
6128
 
6076
6129
 
6077
6130
  }
6078
- declare module BABYLON.GLTF1 {
6131
+ declare namespace BABYLON.GLTF1 {
6079
6132
  /**
6080
6133
  * Enums
6081
6134
  * @internal
@@ -6485,11 +6538,11 @@ declare module BABYLON.GLTF1 {
6485
6538
 
6486
6539
 
6487
6540
  }
6488
- declare module BABYLON {
6541
+ declare namespace BABYLON {
6489
6542
 
6490
6543
 
6491
6544
  }
6492
- declare module BABYLON.GLTF1 {
6545
+ declare namespace BABYLON.GLTF1 {
6493
6546
  /**
6494
6547
  * Implementation of the base glTF spec
6495
6548
  * @internal
@@ -6630,11 +6683,11 @@ declare module BABYLON.GLTF1 {
6630
6683
 
6631
6684
 
6632
6685
  }
6633
- declare module BABYLON {
6686
+ declare namespace BABYLON {
6634
6687
 
6635
6688
 
6636
6689
  }
6637
- declare module BABYLON.GLTF1 {
6690
+ declare namespace BABYLON.GLTF1 {
6638
6691
  /**
6639
6692
  * @internal
6640
6693
  * @deprecated
@@ -6651,7 +6704,7 @@ declare module BABYLON.GLTF1 {
6651
6704
 
6652
6705
 
6653
6706
  }
6654
- declare module BABYLON {
6707
+ declare namespace BABYLON {
6655
6708
 
6656
6709
  export var STLFileLoaderMetadata: {
6657
6710
  readonly name: "stl";