babylonjs-loaders 9.0.0 → 9.1.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.
@@ -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,7 +621,7 @@ 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
  */
@@ -1304,11 +1324,11 @@ declare module BABYLON.GLTF2 {
1304
1324
 
1305
1325
 
1306
1326
  }
1307
- declare module BABYLON {
1327
+ declare namespace BABYLON {
1308
1328
 
1309
1329
 
1310
1330
  }
1311
- declare module BABYLON.GLTF2 {
1331
+ declare namespace BABYLON.GLTF2 {
1312
1332
  /**
1313
1333
  * Material Loading Adapter for OpenPBR materials that provides a unified OpenPBR-like interface.
1314
1334
  */
@@ -1980,11 +2000,11 @@ declare module BABYLON.GLTF2 {
1980
2000
 
1981
2001
 
1982
2002
  }
1983
- declare module BABYLON {
2003
+ declare namespace BABYLON {
1984
2004
 
1985
2005
 
1986
2006
  }
1987
- declare module BABYLON.GLTF2 {
2007
+ declare namespace BABYLON.GLTF2 {
1988
2008
  /**
1989
2009
  * Interface for material loading adapters that provides a unified OpenPBR-like interface
1990
2010
  * for both OpenPBR and PBR materials, eliminating conditional branches in extensions.
@@ -2348,20 +2368,20 @@ declare module BABYLON.GLTF2 {
2348
2368
 
2349
2369
 
2350
2370
  }
2351
- declare module BABYLON {
2371
+ declare namespace BABYLON {
2352
2372
 
2353
2373
 
2354
2374
  }
2355
- declare module BABYLON.GLTF2 {
2375
+ declare namespace BABYLON.GLTF2 {
2356
2376
 
2357
2377
 
2358
2378
 
2359
2379
  }
2360
- declare module BABYLON {
2380
+ declare namespace BABYLON {
2361
2381
 
2362
2382
 
2363
2383
  }
2364
- declare module BABYLON.GLTF2.Loader {
2384
+ declare namespace BABYLON.GLTF2.Loader {
2365
2385
  /**
2366
2386
  * Loader interface with an index field.
2367
2387
  */
@@ -2618,11 +2638,11 @@ declare module BABYLON.GLTF2.Loader {
2618
2638
 
2619
2639
 
2620
2640
  }
2621
- declare module BABYLON {
2641
+ declare namespace BABYLON {
2622
2642
 
2623
2643
 
2624
2644
  }
2625
- declare module BABYLON.GLTF2 {
2645
+ declare namespace BABYLON.GLTF2 {
2626
2646
  interface IRegisteredGLTFExtension {
2627
2647
  isGLTFExtension: boolean;
2628
2648
  factory: GLTFExtensionFactory;
@@ -2649,11 +2669,11 @@ declare module BABYLON.GLTF2 {
2649
2669
 
2650
2670
 
2651
2671
  }
2652
- declare module BABYLON {
2672
+ declare namespace BABYLON {
2653
2673
 
2654
2674
 
2655
2675
  }
2656
- declare module BABYLON.GLTF2 {
2676
+ declare namespace BABYLON.GLTF2 {
2657
2677
  /**
2658
2678
  * Interface for a glTF loader extension.
2659
2679
  */
@@ -2808,11 +2828,11 @@ declare module BABYLON.GLTF2 {
2808
2828
 
2809
2829
 
2810
2830
  }
2811
- declare module BABYLON {
2831
+ declare namespace BABYLON {
2812
2832
 
2813
2833
 
2814
2834
  }
2815
- declare module BABYLON.GLTF2 {
2835
+ declare namespace BABYLON.GLTF2 {
2816
2836
  /** @internal */
2817
2837
  export type GetValueFn = (target: any, source: Float32Array, offset: number, scale: number) => any;
2818
2838
  /** @internal */
@@ -2855,11 +2875,11 @@ declare module BABYLON.GLTF2 {
2855
2875
 
2856
2876
 
2857
2877
  }
2858
- declare module BABYLON {
2878
+ declare namespace BABYLON {
2859
2879
 
2860
2880
 
2861
2881
  }
2862
- declare module BABYLON.GLTF2 {
2882
+ declare namespace BABYLON.GLTF2 {
2863
2883
  interface IWithMetadata {
2864
2884
  metadata: any;
2865
2885
  _internalMetadata: any;
@@ -3287,11 +3307,11 @@ declare module BABYLON.GLTF2 {
3287
3307
 
3288
3308
 
3289
3309
  }
3290
- declare module BABYLON {
3310
+ declare namespace BABYLON {
3291
3311
 
3292
3312
 
3293
3313
  }
3294
- declare module BABYLON.GLTF2.Loader.Extensions {
3314
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3295
3315
  export interface IGLTFObjectModelTree {
3296
3316
  cameras: IGLTFObjectModelTreeCamerasObject;
3297
3317
  nodes: IGLTFObjectModelTreeNodesObject;
@@ -3586,20 +3606,20 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3586
3606
 
3587
3607
 
3588
3608
  }
3589
- declare module BABYLON {
3609
+ declare namespace BABYLON {
3590
3610
 
3591
3611
 
3592
3612
  }
3593
- declare module BABYLON.GLTF2.Loader.Extensions {
3613
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3594
3614
 
3595
3615
 
3596
3616
 
3597
3617
  }
3598
- declare module BABYLON {
3618
+ declare namespace BABYLON {
3599
3619
 
3600
3620
 
3601
3621
  }
3602
- declare module BABYLON.GLTF2.Loader.Extensions {
3622
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3603
3623
  /**
3604
3624
  * Adding an exception here will break traversing through the glTF object tree.
3605
3625
  * This is used for properties that might not be in the glTF object model, but are optional and have a default value.
@@ -3646,11 +3666,11 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3646
3666
 
3647
3667
 
3648
3668
  }
3649
- declare module BABYLON {
3669
+ declare namespace BABYLON {
3650
3670
 
3651
3671
 
3652
3672
  }
3653
- declare module BABYLON.GLTF2.Loader.Extensions {
3673
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3654
3674
  /**
3655
3675
  * 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
3676
  */
@@ -3659,11 +3679,11 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3659
3679
 
3660
3680
 
3661
3681
  }
3662
- declare module BABYLON {
3682
+ declare namespace BABYLON {
3663
3683
 
3664
3684
 
3665
3685
  }
3666
- declare module BABYLON.GLTF2.Loader.Extensions {
3686
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3667
3687
  /** @internal */
3668
3688
  export class MSFT_sRGBFactors implements BABYLON.GLTF2.IGLTFLoaderExtension {
3669
3689
  /** @internal */
@@ -3682,7 +3702,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3682
3702
 
3683
3703
 
3684
3704
  }
3685
- declare module BABYLON {
3705
+ declare namespace BABYLON {
3686
3706
  interface GLTFLoaderExtensionOptions {
3687
3707
  /**
3688
3708
  * Defines options for the MSFT_sRGBFactors extension.
@@ -3691,7 +3711,7 @@ declare module BABYLON {
3691
3711
  }
3692
3712
 
3693
3713
  }
3694
- declare module BABYLON.GLTF2.Loader.Extensions {
3714
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3695
3715
  /** @internal */
3696
3716
  export class MSFT_minecraftMesh implements BABYLON.GLTF2.IGLTFLoaderExtension {
3697
3717
  /** @internal */
@@ -3710,7 +3730,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3710
3730
 
3711
3731
 
3712
3732
  }
3713
- declare module BABYLON {
3733
+ declare namespace BABYLON {
3714
3734
  interface GLTFLoaderExtensionOptions {
3715
3735
  /**
3716
3736
  * Defines options for the MSFT_minecraftMesh extension.
@@ -3719,7 +3739,7 @@ declare module BABYLON {
3719
3739
  }
3720
3740
 
3721
3741
  }
3722
- declare module BABYLON.GLTF2.Loader.Extensions {
3742
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3723
3743
  /**
3724
3744
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/MSFT_lod/README.md)
3725
3745
  */
@@ -3806,7 +3826,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3806
3826
 
3807
3827
 
3808
3828
  }
3809
- declare module BABYLON {
3829
+ declare namespace BABYLON {
3810
3830
  interface GLTFLoaderExtensionOptions {
3811
3831
  /**
3812
3832
  * Defines options for the MSFT_lod extension.
@@ -3820,7 +3840,7 @@ declare module BABYLON {
3820
3840
  }
3821
3841
 
3822
3842
  }
3823
- declare module BABYLON.GLTF2.Loader.Extensions {
3843
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3824
3844
  /**
3825
3845
  * [Specification](https://github.com/najadojo/glTF/blob/MSFT_audio_emitter/extensions/2.0/Vendor/MSFT_audio_emitter/README.md)
3826
3846
  * !!! Experimental Extension Subject to Changes !!!
@@ -3866,7 +3886,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3866
3886
 
3867
3887
 
3868
3888
  }
3869
- declare module BABYLON {
3889
+ declare namespace BABYLON {
3870
3890
  interface GLTFLoaderExtensionOptions {
3871
3891
  /**
3872
3892
  * Defines options for the MSFT_audio_emitter extension.
@@ -3875,7 +3895,7 @@ declare module BABYLON {
3875
3895
  }
3876
3896
 
3877
3897
  }
3878
- declare module BABYLON.GLTF2.Loader.Extensions {
3898
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3879
3899
  /**
3880
3900
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_xmp_json_ld/README.md)
3881
3901
  * @since 5.0.0
@@ -3909,7 +3929,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3909
3929
 
3910
3930
 
3911
3931
  }
3912
- declare module BABYLON {
3932
+ declare namespace BABYLON {
3913
3933
  interface GLTFLoaderExtensionOptions {
3914
3934
  /**
3915
3935
  * Defines options for the KHR_xmp_json_ld extension.
@@ -3918,7 +3938,7 @@ declare module BABYLON {
3918
3938
  }
3919
3939
 
3920
3940
  }
3921
- declare module BABYLON.GLTF2.Loader.Extensions {
3941
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3922
3942
  /**
3923
3943
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_texture_transform/README.md)
3924
3944
  */
@@ -3947,7 +3967,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3947
3967
 
3948
3968
 
3949
3969
  }
3950
- declare module BABYLON {
3970
+ declare namespace BABYLON {
3951
3971
  interface GLTFLoaderExtensionOptions {
3952
3972
  /**
3953
3973
  * Defines options for the KHR_texture_transform extension.
@@ -3956,7 +3976,7 @@ declare module BABYLON {
3956
3976
  }
3957
3977
 
3958
3978
  }
3959
- declare module BABYLON.GLTF2.Loader.Extensions {
3979
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3960
3980
  /**
3961
3981
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_texture_basisu/README.md)
3962
3982
  */
@@ -3981,7 +4001,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
3981
4001
 
3982
4002
 
3983
4003
  }
3984
- declare module BABYLON {
4004
+ declare namespace BABYLON {
3985
4005
  interface GLTFLoaderExtensionOptions {
3986
4006
  /**
3987
4007
  * Defines options for the KHR_texture_basisu extension.
@@ -3990,7 +4010,7 @@ declare module BABYLON {
3990
4010
  }
3991
4011
 
3992
4012
  }
3993
- declare module BABYLON.GLTF2.Loader.Extensions {
4013
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
3994
4014
  /**
3995
4015
  * Loader extension for KHR_node_visibility
3996
4016
  */
@@ -4015,7 +4035,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4015
4035
 
4016
4036
 
4017
4037
  }
4018
- declare module BABYLON {
4038
+ declare namespace BABYLON {
4019
4039
  interface GLTFLoaderExtensionOptions {
4020
4040
  /**
4021
4041
  * Defines options for the KHR_node_visibility extension.
@@ -4024,7 +4044,7 @@ declare module BABYLON {
4024
4044
  }
4025
4045
 
4026
4046
  }
4027
- declare module BABYLON.GLTF2.Loader.Extensions {
4047
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4028
4048
  /**
4029
4049
  * Loader extension for KHR_selectability
4030
4050
  */
@@ -4049,7 +4069,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4049
4069
 
4050
4070
 
4051
4071
  }
4052
- declare module BABYLON {
4072
+ declare namespace BABYLON {
4053
4073
  interface GLTFLoaderExtensionOptions {
4054
4074
  /**
4055
4075
  * Defines options for the KHR_selectability extension.
@@ -4058,7 +4078,7 @@ declare module BABYLON {
4058
4078
  }
4059
4079
 
4060
4080
  }
4061
- declare module BABYLON.GLTF2.Loader.Extensions {
4081
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4062
4082
  /**
4063
4083
  * Loader extension for KHR_node_hoverability
4064
4084
  * @see https://github.com/KhronosGroup/glTF/pull/2426
@@ -4084,7 +4104,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4084
4104
 
4085
4105
 
4086
4106
  }
4087
- declare module BABYLON {
4107
+ declare namespace BABYLON {
4088
4108
  interface GLTFLoaderExtensionOptions {
4089
4109
  /**
4090
4110
  * Defines options for the KHR_node_hoverability extension.
@@ -4093,7 +4113,7 @@ declare module BABYLON {
4093
4113
  }
4094
4114
 
4095
4115
  }
4096
- declare module BABYLON.GLTF2.Loader.Extensions {
4116
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4097
4117
  /**
4098
4118
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_mesh_quantization/README.md)
4099
4119
  */
@@ -4117,7 +4137,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4117
4137
 
4118
4138
 
4119
4139
  }
4120
- declare module BABYLON {
4140
+ declare namespace BABYLON {
4121
4141
  interface GLTFLoaderExtensionOptions {
4122
4142
  /**
4123
4143
  * Defines options for the KHR_mesh_quantization extension.
@@ -4126,7 +4146,7 @@ declare module BABYLON {
4126
4146
  }
4127
4147
 
4128
4148
  }
4129
- declare module BABYLON.GLTF2.Loader.Extensions {
4149
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4130
4150
  /**
4131
4151
  * TODO: In-progress specification
4132
4152
  * [Specification](https://github.com/KhronosGroup/glTF/blob/7ea427ed55d44427e83c0a6d1c87068b1a4151c5/extensions/2.0/Khronos/KHR_materials_volume_scatter/README.md)
@@ -4163,7 +4183,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4163
4183
 
4164
4184
 
4165
4185
  }
4166
- declare module BABYLON {
4186
+ declare namespace BABYLON {
4167
4187
  interface GLTFLoaderExtensionOptions {
4168
4188
  /**
4169
4189
  * Defines options for the KHR_materials_volume_scatter extension.
@@ -4172,7 +4192,7 @@ declare module BABYLON {
4172
4192
  }
4173
4193
 
4174
4194
  }
4175
- declare module BABYLON.GLTF2.Loader.Extensions {
4195
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4176
4196
  /**
4177
4197
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_volume/README.md)
4178
4198
  * @since 5.0.0
@@ -4207,7 +4227,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4207
4227
 
4208
4228
 
4209
4229
  }
4210
- declare module BABYLON {
4230
+ declare namespace BABYLON {
4211
4231
  interface GLTFLoaderExtensionOptions {
4212
4232
  /**
4213
4233
  * Defines options for the KHR_materials_volume extension.
@@ -4216,7 +4236,7 @@ declare module BABYLON {
4216
4236
  }
4217
4237
 
4218
4238
  }
4219
- declare module BABYLON.GLTF2.Loader.Extensions {
4239
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4220
4240
  /**
4221
4241
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_variants/README.md)
4222
4242
  */
@@ -4297,7 +4317,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4297
4317
 
4298
4318
 
4299
4319
  }
4300
- declare module BABYLON {
4320
+ declare namespace BABYLON {
4301
4321
  type MaterialVariantsController = {
4302
4322
  /**
4303
4323
  * The list of available variant names for this asset.
@@ -4326,7 +4346,7 @@ declare module BABYLON {
4326
4346
  }
4327
4347
 
4328
4348
  }
4329
- declare module BABYLON.GLTF2.Loader.Extensions {
4349
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4330
4350
  /**
4331
4351
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_unlit/README.md)
4332
4352
  */
@@ -4360,7 +4380,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4360
4380
 
4361
4381
 
4362
4382
  }
4363
- declare module BABYLON {
4383
+ declare namespace BABYLON {
4364
4384
  interface GLTFLoaderExtensionOptions {
4365
4385
  /**
4366
4386
  * Defines options for the KHR_materials_unlit extension.
@@ -4369,7 +4389,7 @@ declare module BABYLON {
4369
4389
  }
4370
4390
 
4371
4391
  }
4372
- declare module BABYLON.GLTF2.Loader.Extensions {
4392
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4373
4393
  /**
4374
4394
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_transmission/README.md)
4375
4395
  */
@@ -4403,7 +4423,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4403
4423
 
4404
4424
 
4405
4425
  }
4406
- declare module BABYLON {
4426
+ declare namespace BABYLON {
4407
4427
  interface GLTFLoaderExtensionOptions {
4408
4428
  /**
4409
4429
  * Defines options for the KHR_materials_transmission extension.
@@ -4412,7 +4432,7 @@ declare module BABYLON {
4412
4432
  }
4413
4433
 
4414
4434
  }
4415
- declare module BABYLON.GLTF2.Loader.Extensions {
4435
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4416
4436
  /**
4417
4437
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_specular/README.md)
4418
4438
  */
@@ -4446,7 +4466,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4446
4466
 
4447
4467
 
4448
4468
  }
4449
- declare module BABYLON {
4469
+ declare namespace BABYLON {
4450
4470
  interface GLTFLoaderExtensionOptions {
4451
4471
  /**
4452
4472
  * Defines options for the KHR_materials_specular extension.
@@ -4455,7 +4475,7 @@ declare module BABYLON {
4455
4475
  }
4456
4476
 
4457
4477
  }
4458
- declare module BABYLON.GLTF2.Loader.Extensions {
4478
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4459
4479
  /**
4460
4480
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_sheen/README.md)
4461
4481
  * [Playground Sample](https://www.babylonjs-playground.com/frame.html#BNIZX6#4)
@@ -4490,7 +4510,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4490
4510
 
4491
4511
 
4492
4512
  }
4493
- declare module BABYLON {
4513
+ declare namespace BABYLON {
4494
4514
  interface GLTFLoaderExtensionOptions {
4495
4515
  /**
4496
4516
  * Defines options for the KHR_materials_sheen extension.
@@ -4499,7 +4519,7 @@ declare module BABYLON {
4499
4519
  }
4500
4520
 
4501
4521
  }
4502
- declare module BABYLON.GLTF2.Loader.Extensions {
4522
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4503
4523
  /**
4504
4524
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Archived/KHR_materials_pbrSpecularGlossiness/README.md)
4505
4525
  */
@@ -4533,7 +4553,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4533
4553
 
4534
4554
 
4535
4555
  }
4536
- declare module BABYLON {
4556
+ declare namespace BABYLON {
4537
4557
  interface GLTFLoaderExtensionOptions {
4538
4558
  /**
4539
4559
  * Defines options for the KHR_materials_pbrSpecularGlossiness extension.
@@ -4542,7 +4562,7 @@ declare module BABYLON {
4542
4562
  }
4543
4563
 
4544
4564
  }
4545
- declare module BABYLON.GLTF2.Loader.Extensions {
4565
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4546
4566
  /**
4547
4567
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_iridescence/README.md)
4548
4568
  */
@@ -4576,7 +4596,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4576
4596
 
4577
4597
 
4578
4598
  }
4579
- declare module BABYLON {
4599
+ declare namespace BABYLON {
4580
4600
  interface GLTFLoaderExtensionOptions {
4581
4601
  /**
4582
4602
  * Defines options for the KHR_materials_iridescence extension.
@@ -4585,7 +4605,7 @@ declare module BABYLON {
4585
4605
  }
4586
4606
 
4587
4607
  }
4588
- declare module BABYLON.GLTF2.Loader.Extensions {
4608
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4589
4609
  /**
4590
4610
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_ior/README.md)
4591
4611
  */
@@ -4623,7 +4643,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4623
4643
 
4624
4644
 
4625
4645
  }
4626
- declare module BABYLON {
4646
+ declare namespace BABYLON {
4627
4647
  interface GLTFLoaderExtensionOptions {
4628
4648
  /**
4629
4649
  * Defines options for the KHR_materials_ior extension.
@@ -4632,7 +4652,7 @@ declare module BABYLON {
4632
4652
  }
4633
4653
 
4634
4654
  }
4635
- declare module BABYLON.GLTF2.Loader.Extensions {
4655
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4636
4656
  /**
4637
4657
  * [Specification](https://github.com/KhronosGroup/glTF/blob/9734e44accd0dfb986ec5f376117aa00192745fe/extensions/2.0/Khronos/KHR_materials_fuzz/README.md)
4638
4658
  * @experimental
@@ -4667,7 +4687,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4667
4687
 
4668
4688
 
4669
4689
  }
4670
- declare module BABYLON {
4690
+ declare namespace BABYLON {
4671
4691
  interface GLTFLoaderExtensionOptions {
4672
4692
  /**
4673
4693
  * Defines options for the KHR_materials_fuzz extension.
@@ -4676,7 +4696,7 @@ declare module BABYLON {
4676
4696
  }
4677
4697
 
4678
4698
  }
4679
- declare module BABYLON.GLTF2.Loader.Extensions {
4699
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4680
4700
  /**
4681
4701
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_emissive_strength/README.md)
4682
4702
  */
@@ -4710,7 +4730,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4710
4730
 
4711
4731
 
4712
4732
  }
4713
- declare module BABYLON {
4733
+ declare namespace BABYLON {
4714
4734
  interface GLTFLoaderExtensionOptions {
4715
4735
  /**
4716
4736
  * Defines options for the KHR_materials_emissive_strength extension.
@@ -4719,7 +4739,7 @@ declare module BABYLON {
4719
4739
  }
4720
4740
 
4721
4741
  }
4722
- declare module BABYLON.GLTF2.Loader.Extensions {
4742
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4723
4743
  /**
4724
4744
  * [Specification](https://github.com/KhronosGroup/glTF/blob/87bd64a7f5e23c84b6aef2e6082069583ed0ddb4/extensions/2.0/Khronos/KHR_materials_dispersion/README.md)
4725
4745
  * @experimental
@@ -4754,7 +4774,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4754
4774
 
4755
4775
 
4756
4776
  }
4757
- declare module BABYLON {
4777
+ declare namespace BABYLON {
4758
4778
  interface GLTFLoaderExtensionOptions {
4759
4779
  /**
4760
4780
  * Defines options for the KHR_materials_dispersion extension.
@@ -4763,7 +4783,7 @@ declare module BABYLON {
4763
4783
  }
4764
4784
 
4765
4785
  }
4766
- declare module BABYLON.GLTF2.Loader.Extensions {
4786
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4767
4787
  /**
4768
4788
  * [Proposed Specification](https://github.com/KhronosGroup/glTF/pull/1825)
4769
4789
  * !!! Experimental Extension Subject to Changes !!!
@@ -4798,7 +4818,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4798
4818
 
4799
4819
 
4800
4820
  }
4801
- declare module BABYLON {
4821
+ declare namespace BABYLON {
4802
4822
  interface GLTFLoaderExtensionOptions {
4803
4823
  /**
4804
4824
  * Defines options for the KHR_materials_diffuse_transmission extension.
@@ -4807,7 +4827,7 @@ declare module BABYLON {
4807
4827
  }
4808
4828
 
4809
4829
  }
4810
- declare module BABYLON.GLTF2.Loader.Extensions {
4830
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4811
4831
  /**
4812
4832
  * [Specification](https://github.com/KhronosGroup/glTF/blob/b102d2d2b40d44a8776800bb2bf85e218853c17d/extensions/2.0/Khronos/KHR_materials_diffuse_roughness/README.md)
4813
4833
  * @experimental
@@ -4842,7 +4862,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4842
4862
 
4843
4863
 
4844
4864
  }
4845
- declare module BABYLON {
4865
+ declare namespace BABYLON {
4846
4866
  interface GLTFLoaderExtensionOptions {
4847
4867
  /**
4848
4868
  * Defines options for the KHR_materials_diffuse_roughness extension.
@@ -4851,7 +4871,7 @@ declare module BABYLON {
4851
4871
  }
4852
4872
 
4853
4873
  }
4854
- declare module BABYLON.GLTF2.Loader.Extensions {
4874
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4855
4875
  /**
4856
4876
  * [Specification](https://github.com/KhronosGroup/glTF/blob/6cb2cb84b504c245c49cf2e9a8ae16d26f72ac97/extensions/2.0/Khronos/KHR_materials_coat/README.md)
4857
4877
  * @experimental
@@ -4892,7 +4912,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4892
4912
 
4893
4913
 
4894
4914
  }
4895
- declare module BABYLON {
4915
+ declare namespace BABYLON {
4896
4916
  interface GLTFLoaderExtensionOptions {
4897
4917
  /**
4898
4918
  * Defines options for the KHR_materials_coat extension.
@@ -4901,7 +4921,7 @@ declare module BABYLON {
4901
4921
  }
4902
4922
 
4903
4923
  }
4904
- declare module BABYLON.GLTF2.Loader.Extensions {
4924
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4905
4925
  /**
4906
4926
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_clearcoat/README.md)
4907
4927
  * [Playground Sample](https://www.babylonjs-playground.com/frame.html#7F7PN6#8)
@@ -4936,7 +4956,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4936
4956
 
4937
4957
 
4938
4958
  }
4939
- declare module BABYLON {
4959
+ declare namespace BABYLON {
4940
4960
  interface GLTFLoaderExtensionOptions {
4941
4961
  /**
4942
4962
  * Defines options for the KHR_materials_clearcoat extension.
@@ -4945,7 +4965,7 @@ declare module BABYLON {
4945
4965
  }
4946
4966
 
4947
4967
  }
4948
- declare module BABYLON.GLTF2.Loader.Extensions {
4968
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4949
4969
  /**
4950
4970
  * [Specification](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_anisotropy)
4951
4971
  */
@@ -4979,7 +4999,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
4979
4999
 
4980
5000
 
4981
5001
  }
4982
- declare module BABYLON {
5002
+ declare namespace BABYLON {
4983
5003
  interface GLTFLoaderExtensionOptions {
4984
5004
  /**
4985
5005
  * Defines options for the KHR_materials_anisotropy extension.
@@ -4988,7 +5008,7 @@ declare module BABYLON {
4988
5008
  }
4989
5009
 
4990
5010
  }
4991
- declare module BABYLON.GLTF2.Loader.Extensions {
5011
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
4992
5012
  /**
4993
5013
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_lights_punctual/README.md)
4994
5014
  */
@@ -5021,7 +5041,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5021
5041
 
5022
5042
 
5023
5043
  }
5024
- declare module BABYLON {
5044
+ declare namespace BABYLON {
5025
5045
  interface GLTFLoaderExtensionOptions {
5026
5046
  /**
5027
5047
  * Defines options for the KHR_lights_punctual extension.
@@ -5030,7 +5050,7 @@ declare module BABYLON {
5030
5050
  }
5031
5051
 
5032
5052
  }
5033
- declare module BABYLON.GLTF2.Loader.Extensions {
5053
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5034
5054
  /**
5035
5055
  * Loader extension for KHR_interactivity
5036
5056
  */
@@ -5062,7 +5082,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5062
5082
 
5063
5083
 
5064
5084
  }
5065
- declare module BABYLON {
5085
+ declare namespace BABYLON {
5066
5086
  interface GLTFLoaderExtensionOptions {
5067
5087
  /**
5068
5088
  * Defines options for the KHR_interactivity extension.
@@ -5071,7 +5091,7 @@ declare module BABYLON {
5071
5091
  }
5072
5092
 
5073
5093
  }
5074
- declare module BABYLON.GLTF2.Loader.Extensions {
5094
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5075
5095
  /**
5076
5096
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_draco_mesh_compression/README.md)
5077
5097
  */
@@ -5108,7 +5128,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5108
5128
 
5109
5129
 
5110
5130
  }
5111
- declare module BABYLON {
5131
+ declare namespace BABYLON {
5112
5132
  interface GLTFLoaderExtensionOptions {
5113
5133
  /**
5114
5134
  * Defines options for the KHR_draco_mesh_compression extension.
@@ -5117,16 +5137,16 @@ declare module BABYLON {
5117
5137
  }
5118
5138
 
5119
5139
  }
5120
- declare module BABYLON.GLTF2.Loader.Extensions {
5140
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5121
5141
 
5122
5142
 
5123
5143
 
5124
5144
  }
5125
- declare module BABYLON {
5145
+ declare namespace BABYLON {
5126
5146
 
5127
5147
 
5128
5148
  }
5129
- declare module BABYLON.GLTF2.Loader.Extensions {
5149
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5130
5150
  /**
5131
5151
  * [Specification PR](https://github.com/KhronosGroup/glTF/pull/2147)
5132
5152
  * !!! Experimental Extension Subject to Changes !!!
@@ -5163,7 +5183,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5163
5183
 
5164
5184
 
5165
5185
  }
5166
- declare module BABYLON {
5186
+ declare namespace BABYLON {
5167
5187
  interface GLTFLoaderExtensionOptions {
5168
5188
  /**
5169
5189
  * Defines options for the KHR_animation_pointer extension.
@@ -5172,7 +5192,7 @@ declare module BABYLON {
5172
5192
  }
5173
5193
 
5174
5194
  }
5175
- declare module BABYLON.GLTF2.Loader.Extensions {
5195
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5176
5196
  /**
5177
5197
  * Store glTF extras (if present) in BJS objects' metadata
5178
5198
  */
@@ -5214,7 +5234,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5214
5234
 
5215
5235
 
5216
5236
  }
5217
- declare module BABYLON {
5237
+ declare namespace BABYLON {
5218
5238
  interface GLTFLoaderExtensionOptions {
5219
5239
  /**
5220
5240
  * Defines options for the ExtrasAsMetadata extension.
@@ -5223,7 +5243,7 @@ declare module BABYLON {
5223
5243
  }
5224
5244
 
5225
5245
  }
5226
- declare module BABYLON.GLTF2.Loader.Extensions {
5246
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5227
5247
  /**
5228
5248
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_texture_webp/README.md)
5229
5249
  */
@@ -5248,7 +5268,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5248
5268
 
5249
5269
 
5250
5270
  }
5251
- declare module BABYLON {
5271
+ declare namespace BABYLON {
5252
5272
  interface GLTFLoaderExtensionOptions {
5253
5273
  /**
5254
5274
  * Defines options for the EXT_texture_webp extension.
@@ -5257,7 +5277,7 @@ declare module BABYLON {
5257
5277
  }
5258
5278
 
5259
5279
  }
5260
- declare module BABYLON.GLTF2.Loader.Extensions {
5280
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5261
5281
  /**
5262
5282
  * [glTF PR](https://github.com/KhronosGroup/glTF/pull/2235)
5263
5283
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_texture_avif/README.md)
@@ -5283,7 +5303,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5283
5303
 
5284
5304
 
5285
5305
  }
5286
- declare module BABYLON {
5306
+ declare namespace BABYLON {
5287
5307
  interface GLTFLoaderExtensionOptions {
5288
5308
  /**
5289
5309
  * Defines options for the EXT_texture_avif extension.
@@ -5292,7 +5312,7 @@ declare module BABYLON {
5292
5312
  }
5293
5313
 
5294
5314
  }
5295
- declare module BABYLON.GLTF2.Loader.Extensions {
5315
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5296
5316
  /**
5297
5317
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_meshopt_compression/README.md)
5298
5318
  *
@@ -5324,7 +5344,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5324
5344
 
5325
5345
 
5326
5346
  }
5327
- declare module BABYLON {
5347
+ declare namespace BABYLON {
5328
5348
  interface GLTFLoaderExtensionOptions {
5329
5349
  /**
5330
5350
  * Defines options for the EXT_meshopt_compression extension.
@@ -5333,7 +5353,7 @@ declare module BABYLON {
5333
5353
  }
5334
5354
 
5335
5355
  }
5336
- declare module BABYLON.GLTF2.Loader.Extensions {
5356
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5337
5357
  /**
5338
5358
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_mesh_gpu_instancing/README.md)
5339
5359
  * [Playground Sample](https://playground.babylonjs.com/#QFIGLW#9)
@@ -5363,7 +5383,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5363
5383
 
5364
5384
 
5365
5385
  }
5366
- declare module BABYLON {
5386
+ declare namespace BABYLON {
5367
5387
  interface GLTFLoaderExtensionOptions {
5368
5388
  /**
5369
5389
  * Defines options for the EXT_mesh_gpu_instancing extension.
@@ -5372,7 +5392,7 @@ declare module BABYLON {
5372
5392
  }
5373
5393
 
5374
5394
  }
5375
- declare module BABYLON.GLTF2.Loader.Extensions {
5395
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5376
5396
  /** @internal */
5377
5397
  interface IEXTLightsImageBased_LightImageBased {
5378
5398
  _babylonTexture?: BaseTexture;
@@ -5410,7 +5430,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5410
5430
 
5411
5431
 
5412
5432
  }
5413
- declare module BABYLON {
5433
+ declare namespace BABYLON {
5414
5434
  interface GLTFLoaderExtensionOptions {
5415
5435
  /**
5416
5436
  * Defines options for the EXT_lights_image_based extension.
@@ -5419,7 +5439,7 @@ declare module BABYLON {
5419
5439
  }
5420
5440
 
5421
5441
  }
5422
- declare module BABYLON.GLTF2.Loader.Extensions {
5442
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5423
5443
  /**
5424
5444
  * [Specification](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Vendor/EXT_lights_ies)
5425
5445
  */
@@ -5452,7 +5472,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5452
5472
 
5453
5473
 
5454
5474
  }
5455
- declare module BABYLON {
5475
+ declare namespace BABYLON {
5456
5476
  interface GLTFLoaderExtensionOptions {
5457
5477
  /**
5458
5478
  * Defines options for the EXT_lights_ies extension.
@@ -5461,7 +5481,7 @@ declare module BABYLON {
5461
5481
  }
5462
5482
 
5463
5483
  }
5464
- declare module BABYLON.GLTF2.Loader.Extensions {
5484
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5465
5485
  /**
5466
5486
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_lights_area/README.md)
5467
5487
  */
@@ -5494,7 +5514,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5494
5514
 
5495
5515
 
5496
5516
  }
5497
- declare module BABYLON {
5517
+ declare namespace BABYLON {
5498
5518
  interface GLTFLoaderExtensionOptions {
5499
5519
  /**
5500
5520
  * Defines options for the EXT_lights_area extension.
@@ -5503,7 +5523,7 @@ declare module BABYLON {
5503
5523
  }
5504
5524
 
5505
5525
  }
5506
- declare module BABYLON.GLTF2.Loader.Extensions {
5526
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5507
5527
  export interface InteractivityEvent {
5508
5528
  eventId: string;
5509
5529
  eventData?: {
@@ -5573,20 +5593,20 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5573
5593
 
5574
5594
 
5575
5595
  }
5576
- declare module BABYLON {
5596
+ declare namespace BABYLON {
5577
5597
 
5578
5598
 
5579
5599
  }
5580
- declare module BABYLON.GLTF2.Loader.Extensions {
5600
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5581
5601
 
5582
5602
 
5583
5603
 
5584
5604
  }
5585
- declare module BABYLON {
5605
+ declare namespace BABYLON {
5586
5606
 
5587
5607
 
5588
5608
  }
5589
- declare module BABYLON.GLTF2.Loader.Extensions {
5609
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5590
5610
  /**
5591
5611
  * a configuration interface for this block
5592
5612
  */
@@ -5618,11 +5638,11 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5618
5638
 
5619
5639
 
5620
5640
  }
5621
- declare module BABYLON {
5641
+ declare namespace BABYLON {
5622
5642
 
5623
5643
 
5624
5644
  }
5625
- declare module BABYLON.GLTF2.Loader.Extensions {
5645
+ declare namespace BABYLON.GLTF2.Loader.Extensions {
5626
5646
  interface IGLTFToFlowGraphMappingObject {
5627
5647
  /**
5628
5648
  * The name of the property in the FlowGraph block.
@@ -5969,20 +5989,20 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5969
5989
 
5970
5990
 
5971
5991
  }
5972
- declare module BABYLON {
5992
+ declare namespace BABYLON {
5973
5993
 
5974
5994
 
5975
5995
  }
5976
- declare module BABYLON.GLTF1 {
5996
+ declare namespace BABYLON.GLTF1 {
5977
5997
 
5978
5998
 
5979
5999
 
5980
6000
  }
5981
- declare module BABYLON {
6001
+ declare namespace BABYLON {
5982
6002
 
5983
6003
 
5984
6004
  }
5985
- declare module BABYLON.GLTF1 {
6005
+ declare namespace BABYLON.GLTF1 {
5986
6006
  /**
5987
6007
  * @internal
5988
6008
  * @deprecated
@@ -5997,11 +6017,11 @@ declare module BABYLON.GLTF1 {
5997
6017
 
5998
6018
 
5999
6019
  }
6000
- declare module BABYLON {
6020
+ declare namespace BABYLON {
6001
6021
 
6002
6022
 
6003
6023
  }
6004
- declare module BABYLON.GLTF1 {
6024
+ declare namespace BABYLON.GLTF1 {
6005
6025
  /**
6006
6026
  * Utils functions for GLTF
6007
6027
  * @internal
@@ -6071,11 +6091,11 @@ declare module BABYLON.GLTF1 {
6071
6091
 
6072
6092
 
6073
6093
  }
6074
- declare module BABYLON {
6094
+ declare namespace BABYLON {
6075
6095
 
6076
6096
 
6077
6097
  }
6078
- declare module BABYLON.GLTF1 {
6098
+ declare namespace BABYLON.GLTF1 {
6079
6099
  /**
6080
6100
  * Enums
6081
6101
  * @internal
@@ -6485,11 +6505,11 @@ declare module BABYLON.GLTF1 {
6485
6505
 
6486
6506
 
6487
6507
  }
6488
- declare module BABYLON {
6508
+ declare namespace BABYLON {
6489
6509
 
6490
6510
 
6491
6511
  }
6492
- declare module BABYLON.GLTF1 {
6512
+ declare namespace BABYLON.GLTF1 {
6493
6513
  /**
6494
6514
  * Implementation of the base glTF spec
6495
6515
  * @internal
@@ -6630,11 +6650,11 @@ declare module BABYLON.GLTF1 {
6630
6650
 
6631
6651
 
6632
6652
  }
6633
- declare module BABYLON {
6653
+ declare namespace BABYLON {
6634
6654
 
6635
6655
 
6636
6656
  }
6637
- declare module BABYLON.GLTF1 {
6657
+ declare namespace BABYLON.GLTF1 {
6638
6658
  /**
6639
6659
  * @internal
6640
6660
  * @deprecated
@@ -6651,7 +6671,7 @@ declare module BABYLON.GLTF1 {
6651
6671
 
6652
6672
 
6653
6673
  }
6654
- declare module BABYLON {
6674
+ declare namespace BABYLON {
6655
6675
 
6656
6676
  export var STLFileLoaderMetadata: {
6657
6677
  readonly name: "stl";