babylonjs-loaders 7.21.4 → 7.21.5

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.
@@ -74,7 +74,7 @@ module "babylonjs/Loading/sceneLoader" {
74
74
  /**
75
75
  * Defines options for the glTF loader.
76
76
  */
77
- [PLUGIN_GLTF]?: Partial<GLTFLoaderOptions>;
77
+ [PLUGIN_GLTF]: Partial<GLTFLoaderOptions>;
78
78
  }
79
79
  }
80
80
  /**
@@ -174,7 +174,7 @@ abstract class GLTFLoaderOptions {
174
174
  /**
175
175
  * Raised when the asset has been parsed
176
176
  */
177
- abstract onParsed: (loaderData: IGLTFLoaderData) => void;
177
+ abstract onParsed?: (loaderData: IGLTFLoaderData) => void;
178
178
  /**
179
179
  * The coordinate system mode. Defaults to AUTO.
180
180
  */
@@ -268,29 +268,29 @@ abstract class GLTFLoaderOptions {
268
268
  * Callback raised when the loader creates a mesh after parsing the glTF properties of the mesh.
269
269
  * Note that the callback is called as soon as the mesh object is created, meaning some data may not have been setup yet for this mesh (vertex data, morph targets, material, ...)
270
270
  */
271
- abstract onMeshLoaded: (mesh: AbstractMesh) => void;
271
+ abstract onMeshLoaded?: (mesh: AbstractMesh) => void;
272
272
  /**
273
273
  * Callback raised when the loader creates a skin after parsing the glTF properties of the skin node.
274
274
  * @see https://doc.babylonjs.com/features/featuresDeepDive/importers/glTF/glTFSkinning#ignoring-the-transform-of-the-skinned-mesh
275
275
  */
276
- abstract onSkinLoaded: (node: TransformNode, skinnedNode: TransformNode) => void;
276
+ abstract onSkinLoaded?: (node: TransformNode, skinnedNode: TransformNode) => void;
277
277
  /**
278
278
  * Callback raised when the loader creates a texture after parsing the glTF properties of the texture.
279
279
  */
280
- abstract onTextureLoaded: (texture: BaseTexture) => void;
280
+ abstract onTextureLoaded?: (texture: BaseTexture) => void;
281
281
  /**
282
282
  * Callback raised when the loader creates a material after parsing the glTF properties of the material.
283
283
  */
284
- abstract onMaterialLoaded: (material: Material) => void;
284
+ abstract onMaterialLoaded?: (material: Material) => void;
285
285
  /**
286
286
  * Callback raised when the loader creates a camera after parsing the glTF properties of the camera.
287
287
  */
288
- abstract onCameraLoaded: (camera: Camera) => void;
288
+ abstract onCameraLoaded?: (camera: Camera) => void;
289
289
  /**
290
290
  * Defines options for glTF extensions.
291
291
  */
292
292
  extensionOptions: {
293
- [Extension in keyof GLTFLoaderExtensionOptions]: {
293
+ [Extension in keyof GLTFLoaderExtensionOptions]?: {
294
294
  [Option in keyof DefaultExtensionOptions<GLTFLoaderExtensionOptions[Extension]>]: DefaultExtensionOptions<GLTFLoaderExtensionOptions[Extension]>[Option];
295
295
  };
296
296
  };
@@ -316,7 +316,7 @@ export class GLTFFileLoader extends GLTFLoaderOptions implements IDisposable, IS
316
316
  /**
317
317
  * Raised when the asset has been parsed
318
318
  */
319
- set onParsed(callback: (loaderData: IGLTFLoaderData) => void);
319
+ set onParsed(callback: ((loaderData: IGLTFLoaderData) => void) | undefined);
320
320
  /**
321
321
  * Set this property to false to disable incremental loading which delays the loader from calling the success callback until after loading the meshes and shaders.
322
322
  * Textures always loads asynchronously. For example, the success callback can compute the bounding information of the loaded meshes when incremental loading is disabled.
@@ -340,7 +340,7 @@ export class GLTFFileLoader extends GLTFLoaderOptions implements IDisposable, IS
340
340
  * Callback raised when the loader creates a mesh after parsing the glTF properties of the mesh.
341
341
  * Note that the callback is called as soon as the mesh object is created, meaning some data may not have been setup yet for this mesh (vertex data, morph targets, material, ...)
342
342
  */
343
- set onMeshLoaded(callback: (mesh: AbstractMesh) => void);
343
+ set onMeshLoaded(callback: ((mesh: AbstractMesh) => void) | undefined);
344
344
  /**
345
345
  * Observable raised when the loader creates a skin after parsing the glTF properties of the skin node.
346
346
  * @see https://doc.babylonjs.com/features/featuresDeepDive/importers/glTF/glTFSkinning#ignoring-the-transform-of-the-skinned-mesh
@@ -356,7 +356,7 @@ export class GLTFFileLoader extends GLTFLoaderOptions implements IDisposable, IS
356
356
  * Callback raised when the loader creates a skin after parsing the glTF properties of the skin node.
357
357
  * @see https://doc.babylonjs.com/features/featuresDeepDive/importers/glTF/glTFSkinning#ignoring-the-transform-of-the-skinned-mesh
358
358
  */
359
- set onSkinLoaded(callback: (node: TransformNode, skinnedNode: TransformNode) => void);
359
+ set onSkinLoaded(callback: ((node: TransformNode, skinnedNode: TransformNode) => void) | undefined);
360
360
  /**
361
361
  * Observable raised when the loader creates a texture after parsing the glTF properties of the texture.
362
362
  */
@@ -365,7 +365,7 @@ export class GLTFFileLoader extends GLTFLoaderOptions implements IDisposable, IS
365
365
  /**
366
366
  * Callback raised when the loader creates a texture after parsing the glTF properties of the texture.
367
367
  */
368
- set onTextureLoaded(callback: (texture: BaseTexture) => void);
368
+ set onTextureLoaded(callback: ((texture: BaseTexture) => void) | undefined);
369
369
  /**
370
370
  * Observable raised when the loader creates a material after parsing the glTF properties of the material.
371
371
  */
@@ -374,7 +374,7 @@ export class GLTFFileLoader extends GLTFLoaderOptions implements IDisposable, IS
374
374
  /**
375
375
  * Callback raised when the loader creates a material after parsing the glTF properties of the material.
376
376
  */
377
- set onMaterialLoaded(callback: (material: Material) => void);
377
+ set onMaterialLoaded(callback: ((material: Material) => void) | undefined);
378
378
  /**
379
379
  * Observable raised when the loader creates a camera after parsing the glTF properties of the camera.
380
380
  */
@@ -383,7 +383,7 @@ export class GLTFFileLoader extends GLTFLoaderOptions implements IDisposable, IS
383
383
  /**
384
384
  * Callback raised when the loader creates a camera after parsing the glTF properties of the camera.
385
385
  */
386
- set onCameraLoaded(callback: (camera: Camera) => void);
386
+ set onCameraLoaded(callback: ((camera: Camera) => void) | undefined);
387
387
  /**
388
388
  * Observable raised when the asset is completely loaded, immediately before the loader is disposed.
389
389
  * For assets with LODs, raised when all of the LODs are complete.
@@ -1567,6 +1567,14 @@ import { Material } from "babylonjs/Materials/material";
1567
1567
  import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
1568
1568
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
1569
1569
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
1570
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
1571
+ interface GLTFLoaderExtensionOptions {
1572
+ /**
1573
+ * Defines options for the MSFT_sRGBFactors extension.
1574
+ */
1575
+ ["MSFT_sRGBFactors"]: {};
1576
+ }
1577
+ }
1570
1578
  /** @internal */
1571
1579
  export class MSFT_sRGBFactors implements IGLTFLoaderExtension {
1572
1580
  /** @internal */
@@ -1589,6 +1597,14 @@ import { Material } from "babylonjs/Materials/material";
1589
1597
  import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
1590
1598
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
1591
1599
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
1600
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
1601
+ interface GLTFLoaderExtensionOptions {
1602
+ /**
1603
+ * Defines options for the MSFT_minecraftMesh extension.
1604
+ */
1605
+ ["MSFT_minecraftMesh"]: {};
1606
+ }
1607
+ }
1592
1608
  /** @internal */
1593
1609
  export class MSFT_minecraftMesh implements IGLTFLoaderExtension {
1594
1610
  /** @internal */
@@ -1620,7 +1636,7 @@ module "babylonjs-loaders/glTF/glTFFileLoader" {
1620
1636
  /**
1621
1637
  * Defines options for the MSFT_lod extension.
1622
1638
  */
1623
- ["MSFT_lod"]?: Partial<{
1639
+ ["MSFT_lod"]: Partial<{
1624
1640
  /**
1625
1641
  * Maximum number of LODs to load, starting from the lowest LOD.
1626
1642
  */
@@ -1719,6 +1735,14 @@ import { TransformNode } from "babylonjs/Meshes/transformNode";
1719
1735
  import { IScene, INode, IAnimation } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
1720
1736
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
1721
1737
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
1738
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
1739
+ interface GLTFLoaderExtensionOptions {
1740
+ /**
1741
+ * Defines options for the MSFT_audio_emitter extension.
1742
+ */
1743
+ ["MSFT_audio_emitter"]: {};
1744
+ }
1745
+ }
1722
1746
  /**
1723
1747
  * [Specification](https://github.com/najadojo/glTF/blob/MSFT_audio_emitter/extensions/2.0/Vendor/MSFT_audio_emitter/README.md)
1724
1748
  * !!! Experimental Extension Subject to Changes !!!
@@ -1765,6 +1789,14 @@ export class MSFT_audio_emitter implements IGLTFLoaderExtension {
1765
1789
  declare module "babylonjs-loaders/glTF/2.0/Extensions/KHR_xmp_json_ld" {
1766
1790
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
1767
1791
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
1792
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
1793
+ interface GLTFLoaderExtensionOptions {
1794
+ /**
1795
+ * Defines options for the KHR_xmp_json_ld extension.
1796
+ */
1797
+ ["KHR_xmp_json_ld"]: {};
1798
+ }
1799
+ }
1768
1800
  /**
1769
1801
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_xmp_json_ld/README.md)
1770
1802
  * @since 5.0.0
@@ -1802,6 +1834,14 @@ import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
1802
1834
  import { ITextureInfo } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
1803
1835
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
1804
1836
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
1837
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
1838
+ interface GLTFLoaderExtensionOptions {
1839
+ /**
1840
+ * Defines options for the KHR_texture_transform extension.
1841
+ */
1842
+ ["KHR_texture_transform"]: {};
1843
+ }
1844
+ }
1805
1845
  /**
1806
1846
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_texture_transform/README.md)
1807
1847
  */
@@ -1834,6 +1874,14 @@ import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
1834
1874
  import { ITexture } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
1835
1875
  import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
1836
1876
  import { Nullable } from "babylonjs/types";
1877
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
1878
+ interface GLTFLoaderExtensionOptions {
1879
+ /**
1880
+ * Defines options for the KHR_texture_basisu extension.
1881
+ */
1882
+ ["KHR_texture_basisu"]: {};
1883
+ }
1884
+ }
1837
1885
  /**
1838
1886
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_texture_basisu/README.md)
1839
1887
  */
@@ -1859,6 +1907,14 @@ export class KHR_texture_basisu implements IGLTFLoaderExtension {
1859
1907
  declare module "babylonjs-loaders/glTF/2.0/Extensions/KHR_mesh_quantization" {
1860
1908
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
1861
1909
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
1910
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
1911
+ interface GLTFLoaderExtensionOptions {
1912
+ /**
1913
+ * Defines options for the KHR_mesh_quantization extension.
1914
+ */
1915
+ ["KHR_mesh_quantization"]: {};
1916
+ }
1917
+ }
1862
1918
  /**
1863
1919
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_mesh_quantization/README.md)
1864
1920
  */
@@ -1886,6 +1942,14 @@ import { Material } from "babylonjs/Materials/material";
1886
1942
  import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
1887
1943
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
1888
1944
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
1945
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
1946
+ interface GLTFLoaderExtensionOptions {
1947
+ /**
1948
+ * Defines options for the KHR_materials_volume extension.
1949
+ */
1950
+ ["KHR_materials_volume"]: {};
1951
+ }
1952
+ }
1889
1953
  /**
1890
1954
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_volume/README.md)
1891
1955
  * @since 5.0.0
@@ -1925,6 +1989,14 @@ import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
1925
1989
  import { Mesh } from "babylonjs/Meshes/mesh";
1926
1990
  import { AbstractMesh } from "babylonjs/Meshes/abstractMesh";
1927
1991
  import { INode, IMeshPrimitive, IMesh } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
1992
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
1993
+ interface GLTFLoaderExtensionOptions {
1994
+ /**
1995
+ * Defines options for the KHR_materials_variants extension.
1996
+ */
1997
+ ["KHR_materials_variants"]: {};
1998
+ }
1999
+ }
1928
2000
  /**
1929
2001
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_variants/README.md)
1930
2002
  */
@@ -2007,6 +2079,14 @@ import { Material } from "babylonjs/Materials/material";
2007
2079
  import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2008
2080
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2009
2081
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2082
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
2083
+ interface GLTFLoaderExtensionOptions {
2084
+ /**
2085
+ * Defines options for the KHR_materials_unlit extension.
2086
+ */
2087
+ ["KHR_materials_unlit"]: {};
2088
+ }
2089
+ }
2010
2090
  /**
2011
2091
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_unlit/README.md)
2012
2092
  */
@@ -2044,6 +2124,14 @@ import { Material } from "babylonjs/Materials/material";
2044
2124
  import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2045
2125
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2046
2126
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2127
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
2128
+ interface GLTFLoaderExtensionOptions {
2129
+ /**
2130
+ * Defines options for the KHR_materials_transmission extension.
2131
+ */
2132
+ ["KHR_materials_transmission"]: {};
2133
+ }
2134
+ }
2047
2135
  /**
2048
2136
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_transmission/README.md)
2049
2137
  */
@@ -2081,6 +2169,14 @@ import { Material } from "babylonjs/Materials/material";
2081
2169
  import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2082
2170
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2083
2171
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2172
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
2173
+ interface GLTFLoaderExtensionOptions {
2174
+ /**
2175
+ * Defines options for the KHR_materials_specular extension.
2176
+ */
2177
+ ["KHR_materials_specular"]: {};
2178
+ }
2179
+ }
2084
2180
  /**
2085
2181
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_specular/README.md)
2086
2182
  */
@@ -2118,6 +2214,14 @@ import { Material } from "babylonjs/Materials/material";
2118
2214
  import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2119
2215
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2120
2216
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2217
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
2218
+ interface GLTFLoaderExtensionOptions {
2219
+ /**
2220
+ * Defines options for the KHR_materials_sheen extension.
2221
+ */
2222
+ ["KHR_materials_sheen"]: {};
2223
+ }
2224
+ }
2121
2225
  /**
2122
2226
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_sheen/README.md)
2123
2227
  * [Playground Sample](https://www.babylonjs-playground.com/frame.html#BNIZX6#4)
@@ -2156,6 +2260,14 @@ import { Material } from "babylonjs/Materials/material";
2156
2260
  import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2157
2261
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2158
2262
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2263
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
2264
+ interface GLTFLoaderExtensionOptions {
2265
+ /**
2266
+ * Defines options for the KHR_materials_pbrSpecularGlossiness extension.
2267
+ */
2268
+ ["KHR_materials_pbrSpecularGlossiness"]: {};
2269
+ }
2270
+ }
2159
2271
  /**
2160
2272
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Archived/KHR_materials_pbrSpecularGlossiness/README.md)
2161
2273
  */
@@ -2193,6 +2305,14 @@ import { Material } from "babylonjs/Materials/material";
2193
2305
  import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2194
2306
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2195
2307
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2308
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
2309
+ interface GLTFLoaderExtensionOptions {
2310
+ /**
2311
+ * Defines options for the KHR_materials_iridescence extension.
2312
+ */
2313
+ ["KHR_materials_iridescence"]: {};
2314
+ }
2315
+ }
2196
2316
  /**
2197
2317
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_iridescence/README.md)
2198
2318
  */
@@ -2230,6 +2350,14 @@ import { Material } from "babylonjs/Materials/material";
2230
2350
  import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2231
2351
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2232
2352
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2353
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
2354
+ interface GLTFLoaderExtensionOptions {
2355
+ /**
2356
+ * Defines options for the KHR_materials_ior extension.
2357
+ */
2358
+ ["KHR_materials_ior"]: {};
2359
+ }
2360
+ }
2233
2361
  /**
2234
2362
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_ior/README.md)
2235
2363
  */
@@ -2271,6 +2399,14 @@ import { Material } from "babylonjs/Materials/material";
2271
2399
  import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2272
2400
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2273
2401
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2402
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
2403
+ interface GLTFLoaderExtensionOptions {
2404
+ /**
2405
+ * Defines options for the KHR_materials_emissive_strength extension.
2406
+ */
2407
+ ["KHR_materials_emissive_strength"]: {};
2408
+ }
2409
+ }
2274
2410
  /**
2275
2411
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_emissive_strength/README.md)
2276
2412
  */
@@ -2308,6 +2444,14 @@ import { Material } from "babylonjs/Materials/material";
2308
2444
  import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2309
2445
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2310
2446
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2447
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
2448
+ interface GLTFLoaderExtensionOptions {
2449
+ /**
2450
+ * Defines options for the KHR_materials_dispersion extension.
2451
+ */
2452
+ ["KHR_materials_dispersion"]: {};
2453
+ }
2454
+ }
2311
2455
  /**
2312
2456
  * [Specification](https://github.com/KhronosGroup/glTF/blob/87bd64a7f5e23c84b6aef2e6082069583ed0ddb4/extensions/2.0/Khronos/KHR_materials_dispersion/README.md)
2313
2457
  * @experimental
@@ -2346,6 +2490,14 @@ import { Material } from "babylonjs/Materials/material";
2346
2490
  import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2347
2491
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2348
2492
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2493
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
2494
+ interface GLTFLoaderExtensionOptions {
2495
+ /**
2496
+ * Defines options for the KHR_materials_diffuse_transmission extension.
2497
+ */
2498
+ ["KHR_materials_diffuse_transmission"]: {};
2499
+ }
2500
+ }
2349
2501
  /**
2350
2502
  * [Proposed Specification](https://github.com/KhronosGroup/glTF/pull/1825)
2351
2503
  * !!! Experimental Extension Subject to Changes !!!
@@ -2384,6 +2536,14 @@ import { Material } from "babylonjs/Materials/material";
2384
2536
  import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2385
2537
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2386
2538
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2539
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
2540
+ interface GLTFLoaderExtensionOptions {
2541
+ /**
2542
+ * Defines options for the KHR_materials_clearcoat extension.
2543
+ */
2544
+ ["KHR_materials_clearcoat"]: {};
2545
+ }
2546
+ }
2387
2547
  /**
2388
2548
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_clearcoat/README.md)
2389
2549
  * [Playground Sample](https://www.babylonjs-playground.com/frame.html#7F7PN6#8)
@@ -2422,6 +2582,14 @@ import { Material } from "babylonjs/Materials/material";
2422
2582
  import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2423
2583
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2424
2584
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2585
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
2586
+ interface GLTFLoaderExtensionOptions {
2587
+ /**
2588
+ * Defines options for the KHR_materials_anisotropy extension.
2589
+ */
2590
+ ["KHR_materials_anisotropy"]: {};
2591
+ }
2592
+ }
2425
2593
  /**
2426
2594
  * [Specification](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_anisotropy)
2427
2595
  */
@@ -2459,6 +2627,14 @@ import { TransformNode } from "babylonjs/Meshes/transformNode";
2459
2627
  import { INode } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2460
2628
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2461
2629
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2630
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
2631
+ interface GLTFLoaderExtensionOptions {
2632
+ /**
2633
+ * Defines options for the KHR_lights_punctual extension.
2634
+ */
2635
+ ["KHR_lights_punctual"]: {};
2636
+ }
2637
+ }
2462
2638
  /**
2463
2639
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_lights_punctual/README.md)
2464
2640
  */
@@ -2492,6 +2668,14 @@ export class KHR_lights implements IGLTFLoaderExtension {
2492
2668
  declare module "babylonjs-loaders/glTF/2.0/Extensions/KHR_interactivity" {
2493
2669
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2494
2670
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2671
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
2672
+ interface GLTFLoaderExtensionOptions {
2673
+ /**
2674
+ * Defines options for the KHR_interactivity extension.
2675
+ */
2676
+ ["KHR_interactivity"]: {};
2677
+ }
2678
+ }
2495
2679
  /**
2496
2680
  * Loader extension for KHR_interactivity
2497
2681
  */
@@ -2524,6 +2708,14 @@ import { Mesh } from "babylonjs/Meshes/mesh";
2524
2708
  import { IMeshPrimitive } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2525
2709
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2526
2710
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2711
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
2712
+ interface GLTFLoaderExtensionOptions {
2713
+ /**
2714
+ * Defines options for the KHR_draco_mesh_compression extension.
2715
+ */
2716
+ ["KHR_draco_mesh_compression"]: {};
2717
+ }
2718
+ }
2527
2719
  /**
2528
2720
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_draco_mesh_compression/README.md)
2529
2721
  */
@@ -2859,6 +3051,14 @@ import { Nullable } from "babylonjs/types";
2859
3051
  import { Animation } from "babylonjs/Animations/animation";
2860
3052
  import { IAnimatable } from "babylonjs/Animations/animatable.interface";
2861
3053
  import { IAnimation, IAnimationChannel } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
3054
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
3055
+ interface GLTFLoaderExtensionOptions {
3056
+ /**
3057
+ * Defines options for the KHR_animation_pointer extension.
3058
+ */
3059
+ ["KHR_animation_pointer"]: {};
3060
+ }
3061
+ }
2862
3062
  /**
2863
3063
  * [Specification PR](https://github.com/KhronosGroup/glTF/pull/2147)
2864
3064
  * !!! Experimental Extension Subject to Changes !!!
@@ -2901,6 +3101,14 @@ import { INode, ICamera, IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoader
2901
3101
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2902
3102
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2903
3103
  import { Material } from "babylonjs/Materials/material";
3104
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
3105
+ interface GLTFLoaderExtensionOptions {
3106
+ /**
3107
+ * Defines options for the ExtrasAsMetadata extension.
3108
+ */
3109
+ ["ExtrasAsMetadata"]: {};
3110
+ }
3111
+ }
2904
3112
  /**
2905
3113
  * Store glTF extras (if present) in BJS objects' metadata
2906
3114
  */
@@ -2942,6 +3150,14 @@ import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2942
3150
  import { ITexture } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2943
3151
  import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
2944
3152
  import { Nullable } from "babylonjs/types";
3153
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
3154
+ interface GLTFLoaderExtensionOptions {
3155
+ /**
3156
+ * Defines options for the EXT_texture_webp extension.
3157
+ */
3158
+ ["EXT_texture_webp"]: {};
3159
+ }
3160
+ }
2945
3161
  /**
2946
3162
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_texture_webp/README.md)
2947
3163
  */
@@ -2970,6 +3186,14 @@ import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
2970
3186
  import { ITexture } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
2971
3187
  import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
2972
3188
  import { Nullable } from "babylonjs/types";
3189
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
3190
+ interface GLTFLoaderExtensionOptions {
3191
+ /**
3192
+ * Defines options for the EXT_texture_avif extension.
3193
+ */
3194
+ ["EXT_texture_avif"]: {};
3195
+ }
3196
+ }
2973
3197
  /**
2974
3198
  * [glTF PR](https://github.com/KhronosGroup/glTF/pull/2235)
2975
3199
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_texture_avif/README.md)
@@ -2998,6 +3222,14 @@ import { Nullable } from "babylonjs/types";
2998
3222
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
2999
3223
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
3000
3224
  import { IBufferView } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
3225
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
3226
+ interface GLTFLoaderExtensionOptions {
3227
+ /**
3228
+ * Defines options for the EXT_meshopt_compression extension.
3229
+ */
3230
+ ["EXT_meshopt_compression"]: {};
3231
+ }
3232
+ }
3001
3233
  /**
3002
3234
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_meshopt_compression/README.md)
3003
3235
  *
@@ -3034,6 +3266,14 @@ import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
3034
3266
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
3035
3267
  import { INode } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
3036
3268
  import "babylonjs/Meshes/thinInstanceMesh";
3269
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
3270
+ interface GLTFLoaderExtensionOptions {
3271
+ /**
3272
+ * Defines options for the EXT_mesh_gpu_instancing extension.
3273
+ */
3274
+ ["EXT_mesh_gpu_instancing"]: {};
3275
+ }
3276
+ }
3037
3277
  /**
3038
3278
  * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_mesh_gpu_instancing/README.md)
3039
3279
  * [Playground Sample](https://playground.babylonjs.com/#QFIGLW#9)
@@ -3067,6 +3307,14 @@ import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
3067
3307
  import { IScene } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
3068
3308
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
3069
3309
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
3310
+ module "babylonjs-loaders/glTF/glTFFileLoader" {
3311
+ interface GLTFLoaderExtensionOptions {
3312
+ /**
3313
+ * Defines options for the EXT_lights_image_based extension.
3314
+ */
3315
+ ["EXT_lights_image_based"]: {};
3316
+ }
3317
+ }
3070
3318
  module "babylonjs-gltf2interface" {
3071
3319
  /** @internal */
3072
3320
  interface IEXTLightsImageBased_LightImageBased {
@@ -3795,7 +4043,7 @@ module "babylonjs/Loading/sceneLoader" {
3795
4043
  /**
3796
4044
  * Defines options for the stl loader.
3797
4045
  */
3798
- [PLUGIN_STL]?: {};
4046
+ [PLUGIN_STL]: {};
3799
4047
  }
3800
4048
  }
3801
4049
  /**
@@ -3878,7 +4126,7 @@ module "babylonjs/Loading/sceneLoader" {
3878
4126
  /**
3879
4127
  * Defines options for the splat loader.
3880
4128
  */
3881
- [PLUGIN_SPLAT]?: {};
4129
+ [PLUGIN_SPLAT]: {};
3882
4130
  }
3883
4131
  }
3884
4132
  /**
@@ -4183,7 +4431,7 @@ module "babylonjs/Loading/sceneLoader" {
4183
4431
  /**
4184
4432
  * Defines options for the obj loader.
4185
4433
  */
4186
- [PLUGIN_OBJ]?: {};
4434
+ [PLUGIN_OBJ]: {};
4187
4435
  }
4188
4436
  }
4189
4437
  /**
@@ -4464,7 +4712,7 @@ declare module BABYLON {
4464
4712
  /**
4465
4713
  * Defines options for the glTF loader.
4466
4714
  */
4467
- [PLUGIN_GLTF]?: Partial<GLTFLoaderOptions>;
4715
+ [PLUGIN_GLTF]: Partial<GLTFLoaderOptions>;
4468
4716
  }
4469
4717
  /**
4470
4718
  * Mode that determines the coordinate system to use.
@@ -4563,7 +4811,7 @@ declare module BABYLON {
4563
4811
  /**
4564
4812
  * Raised when the asset has been parsed
4565
4813
  */
4566
- abstract onParsed: (loaderData: IGLTFLoaderData) => void;
4814
+ abstract onParsed?: (loaderData: IGLTFLoaderData) => void;
4567
4815
  /**
4568
4816
  * The coordinate system mode. Defaults to AUTO.
4569
4817
  */
@@ -4657,29 +4905,29 @@ declare module BABYLON {
4657
4905
  * Callback raised when the loader creates a mesh after parsing the glTF properties of the mesh.
4658
4906
  * Note that the callback is called as soon as the mesh object is created, meaning some data may not have been setup yet for this mesh (vertex data, morph targets, material, ...)
4659
4907
  */
4660
- abstract onMeshLoaded: (mesh: AbstractMesh) => void;
4908
+ abstract onMeshLoaded?: (mesh: AbstractMesh) => void;
4661
4909
  /**
4662
4910
  * Callback raised when the loader creates a skin after parsing the glTF properties of the skin node.
4663
4911
  * @see https://doc.babylonjs.com/features/featuresDeepDive/importers/glTF/glTFSkinning#ignoring-the-transform-of-the-skinned-mesh
4664
4912
  */
4665
- abstract onSkinLoaded: (node: TransformNode, skinnedNode: TransformNode) => void;
4913
+ abstract onSkinLoaded?: (node: TransformNode, skinnedNode: TransformNode) => void;
4666
4914
  /**
4667
4915
  * Callback raised when the loader creates a texture after parsing the glTF properties of the texture.
4668
4916
  */
4669
- abstract onTextureLoaded: (texture: BaseTexture) => void;
4917
+ abstract onTextureLoaded?: (texture: BaseTexture) => void;
4670
4918
  /**
4671
4919
  * Callback raised when the loader creates a material after parsing the glTF properties of the material.
4672
4920
  */
4673
- abstract onMaterialLoaded: (material: Material) => void;
4921
+ abstract onMaterialLoaded?: (material: Material) => void;
4674
4922
  /**
4675
4923
  * Callback raised when the loader creates a camera after parsing the glTF properties of the camera.
4676
4924
  */
4677
- abstract onCameraLoaded: (camera: Camera) => void;
4925
+ abstract onCameraLoaded?: (camera: Camera) => void;
4678
4926
  /**
4679
4927
  * Defines options for glTF extensions.
4680
4928
  */
4681
4929
  extensionOptions: {
4682
- [Extension in keyof GLTFLoaderExtensionOptions]: {
4930
+ [Extension in keyof GLTFLoaderExtensionOptions]?: {
4683
4931
  [Option in keyof DefaultExtensionOptions<GLTFLoaderExtensionOptions[Extension]>]: DefaultExtensionOptions<GLTFLoaderExtensionOptions[Extension]>[Option];
4684
4932
  };
4685
4933
  };
@@ -4705,7 +4953,7 @@ declare module BABYLON {
4705
4953
  /**
4706
4954
  * Raised when the asset has been parsed
4707
4955
  */
4708
- set onParsed(callback: (loaderData: IGLTFLoaderData) => void);
4956
+ set onParsed(callback: ((loaderData: IGLTFLoaderData) => void) | undefined);
4709
4957
  /**
4710
4958
  * Set this property to false to disable incremental loading which delays the loader from calling the success callback until after loading the meshes and shaders.
4711
4959
  * Textures always loads asynchronously. For example, the success callback can compute the bounding information of the loaded meshes when incremental loading is disabled.
@@ -4729,7 +4977,7 @@ declare module BABYLON {
4729
4977
  * Callback raised when the loader creates a mesh after parsing the glTF properties of the mesh.
4730
4978
  * Note that the callback is called as soon as the mesh object is created, meaning some data may not have been setup yet for this mesh (vertex data, morph targets, material, ...)
4731
4979
  */
4732
- set onMeshLoaded(callback: (mesh: AbstractMesh) => void);
4980
+ set onMeshLoaded(callback: ((mesh: AbstractMesh) => void) | undefined);
4733
4981
  /**
4734
4982
  * Observable raised when the loader creates a skin after parsing the glTF properties of the skin node.
4735
4983
  * @see https://doc.babylonjs.com/features/featuresDeepDive/importers/glTF/glTFSkinning#ignoring-the-transform-of-the-skinned-mesh
@@ -4745,7 +4993,7 @@ declare module BABYLON {
4745
4993
  * Callback raised when the loader creates a skin after parsing the glTF properties of the skin node.
4746
4994
  * @see https://doc.babylonjs.com/features/featuresDeepDive/importers/glTF/glTFSkinning#ignoring-the-transform-of-the-skinned-mesh
4747
4995
  */
4748
- set onSkinLoaded(callback: (node: TransformNode, skinnedNode: TransformNode) => void);
4996
+ set onSkinLoaded(callback: ((node: TransformNode, skinnedNode: TransformNode) => void) | undefined);
4749
4997
  /**
4750
4998
  * Observable raised when the loader creates a texture after parsing the glTF properties of the texture.
4751
4999
  */
@@ -4754,7 +5002,7 @@ declare module BABYLON {
4754
5002
  /**
4755
5003
  * Callback raised when the loader creates a texture after parsing the glTF properties of the texture.
4756
5004
  */
4757
- set onTextureLoaded(callback: (texture: BaseTexture) => void);
5005
+ set onTextureLoaded(callback: ((texture: BaseTexture) => void) | undefined);
4758
5006
  /**
4759
5007
  * Observable raised when the loader creates a material after parsing the glTF properties of the material.
4760
5008
  */
@@ -4763,7 +5011,7 @@ declare module BABYLON {
4763
5011
  /**
4764
5012
  * Callback raised when the loader creates a material after parsing the glTF properties of the material.
4765
5013
  */
4766
- set onMaterialLoaded(callback: (material: Material) => void);
5014
+ set onMaterialLoaded(callback: ((material: Material) => void) | undefined);
4767
5015
  /**
4768
5016
  * Observable raised when the loader creates a camera after parsing the glTF properties of the camera.
4769
5017
  */
@@ -4772,7 +5020,7 @@ declare module BABYLON {
4772
5020
  /**
4773
5021
  * Callback raised when the loader creates a camera after parsing the glTF properties of the camera.
4774
5022
  */
4775
- set onCameraLoaded(callback: (camera: Camera) => void);
5023
+ set onCameraLoaded(callback: ((camera: Camera) => void) | undefined);
4776
5024
  /**
4777
5025
  * Observable raised when the asset is completely loaded, immediately before the loader is disposed.
4778
5026
  * For assets with LODs, raised when all of the LODs are complete.
@@ -5935,7 +6183,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5935
6183
 
5936
6184
  }
5937
6185
  declare module BABYLON {
5938
-
6186
+ interface GLTFLoaderExtensionOptions {
6187
+ /**
6188
+ * Defines options for the MSFT_sRGBFactors extension.
6189
+ */
6190
+ ["MSFT_sRGBFactors"]: {};
6191
+ }
5939
6192
 
5940
6193
  }
5941
6194
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -5958,7 +6211,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5958
6211
 
5959
6212
  }
5960
6213
  declare module BABYLON {
5961
-
6214
+ interface GLTFLoaderExtensionOptions {
6215
+ /**
6216
+ * Defines options for the MSFT_minecraftMesh extension.
6217
+ */
6218
+ ["MSFT_minecraftMesh"]: {};
6219
+ }
5962
6220
 
5963
6221
  }
5964
6222
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6053,7 +6311,7 @@ declare module BABYLON {
6053
6311
  /**
6054
6312
  * Defines options for the MSFT_lod extension.
6055
6313
  */
6056
- ["MSFT_lod"]?: Partial<{
6314
+ ["MSFT_lod"]: Partial<{
6057
6315
  /**
6058
6316
  * Maximum number of LODs to load, starting from the lowest LOD.
6059
6317
  */
@@ -6109,7 +6367,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6109
6367
 
6110
6368
  }
6111
6369
  declare module BABYLON {
6112
-
6370
+ interface GLTFLoaderExtensionOptions {
6371
+ /**
6372
+ * Defines options for the MSFT_audio_emitter extension.
6373
+ */
6374
+ ["MSFT_audio_emitter"]: {};
6375
+ }
6113
6376
 
6114
6377
  }
6115
6378
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6147,7 +6410,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6147
6410
 
6148
6411
  }
6149
6412
  declare module BABYLON {
6150
-
6413
+ interface GLTFLoaderExtensionOptions {
6414
+ /**
6415
+ * Defines options for the KHR_xmp_json_ld extension.
6416
+ */
6417
+ ["KHR_xmp_json_ld"]: {};
6418
+ }
6151
6419
 
6152
6420
  }
6153
6421
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6180,7 +6448,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6180
6448
 
6181
6449
  }
6182
6450
  declare module BABYLON {
6183
-
6451
+ interface GLTFLoaderExtensionOptions {
6452
+ /**
6453
+ * Defines options for the KHR_texture_transform extension.
6454
+ */
6455
+ ["KHR_texture_transform"]: {};
6456
+ }
6184
6457
 
6185
6458
  }
6186
6459
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6209,7 +6482,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6209
6482
 
6210
6483
  }
6211
6484
  declare module BABYLON {
6212
-
6485
+ interface GLTFLoaderExtensionOptions {
6486
+ /**
6487
+ * Defines options for the KHR_texture_basisu extension.
6488
+ */
6489
+ ["KHR_texture_basisu"]: {};
6490
+ }
6213
6491
 
6214
6492
  }
6215
6493
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6237,7 +6515,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6237
6515
 
6238
6516
  }
6239
6517
  declare module BABYLON {
6240
-
6518
+ interface GLTFLoaderExtensionOptions {
6519
+ /**
6520
+ * Defines options for the KHR_mesh_quantization extension.
6521
+ */
6522
+ ["KHR_mesh_quantization"]: {};
6523
+ }
6241
6524
 
6242
6525
  }
6243
6526
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6276,7 +6559,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6276
6559
 
6277
6560
  }
6278
6561
  declare module BABYLON {
6279
-
6562
+ interface GLTFLoaderExtensionOptions {
6563
+ /**
6564
+ * Defines options for the KHR_materials_volume extension.
6565
+ */
6566
+ ["KHR_materials_volume"]: {};
6567
+ }
6280
6568
 
6281
6569
  }
6282
6570
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6359,7 +6647,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6359
6647
 
6360
6648
  }
6361
6649
  declare module BABYLON {
6362
-
6650
+ interface GLTFLoaderExtensionOptions {
6651
+ /**
6652
+ * Defines options for the KHR_materials_variants extension.
6653
+ */
6654
+ ["KHR_materials_variants"]: {};
6655
+ }
6363
6656
 
6364
6657
  }
6365
6658
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6397,7 +6690,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6397
6690
 
6398
6691
  }
6399
6692
  declare module BABYLON {
6400
-
6693
+ interface GLTFLoaderExtensionOptions {
6694
+ /**
6695
+ * Defines options for the KHR_materials_unlit extension.
6696
+ */
6697
+ ["KHR_materials_unlit"]: {};
6698
+ }
6401
6699
 
6402
6700
  }
6403
6701
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6435,7 +6733,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6435
6733
 
6436
6734
  }
6437
6735
  declare module BABYLON {
6438
-
6736
+ interface GLTFLoaderExtensionOptions {
6737
+ /**
6738
+ * Defines options for the KHR_materials_transmission extension.
6739
+ */
6740
+ ["KHR_materials_transmission"]: {};
6741
+ }
6439
6742
 
6440
6743
  }
6441
6744
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6473,7 +6776,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6473
6776
 
6474
6777
  }
6475
6778
  declare module BABYLON {
6476
-
6779
+ interface GLTFLoaderExtensionOptions {
6780
+ /**
6781
+ * Defines options for the KHR_materials_specular extension.
6782
+ */
6783
+ ["KHR_materials_specular"]: {};
6784
+ }
6477
6785
 
6478
6786
  }
6479
6787
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6512,7 +6820,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6512
6820
 
6513
6821
  }
6514
6822
  declare module BABYLON {
6515
-
6823
+ interface GLTFLoaderExtensionOptions {
6824
+ /**
6825
+ * Defines options for the KHR_materials_sheen extension.
6826
+ */
6827
+ ["KHR_materials_sheen"]: {};
6828
+ }
6516
6829
 
6517
6830
  }
6518
6831
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6550,7 +6863,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6550
6863
 
6551
6864
  }
6552
6865
  declare module BABYLON {
6553
-
6866
+ interface GLTFLoaderExtensionOptions {
6867
+ /**
6868
+ * Defines options for the KHR_materials_pbrSpecularGlossiness extension.
6869
+ */
6870
+ ["KHR_materials_pbrSpecularGlossiness"]: {};
6871
+ }
6554
6872
 
6555
6873
  }
6556
6874
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6588,7 +6906,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6588
6906
 
6589
6907
  }
6590
6908
  declare module BABYLON {
6591
-
6909
+ interface GLTFLoaderExtensionOptions {
6910
+ /**
6911
+ * Defines options for the KHR_materials_iridescence extension.
6912
+ */
6913
+ ["KHR_materials_iridescence"]: {};
6914
+ }
6592
6915
 
6593
6916
  }
6594
6917
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6630,7 +6953,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6630
6953
 
6631
6954
  }
6632
6955
  declare module BABYLON {
6633
-
6956
+ interface GLTFLoaderExtensionOptions {
6957
+ /**
6958
+ * Defines options for the KHR_materials_ior extension.
6959
+ */
6960
+ ["KHR_materials_ior"]: {};
6961
+ }
6634
6962
 
6635
6963
  }
6636
6964
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6668,7 +6996,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6668
6996
 
6669
6997
  }
6670
6998
  declare module BABYLON {
6671
-
6999
+ interface GLTFLoaderExtensionOptions {
7000
+ /**
7001
+ * Defines options for the KHR_materials_emissive_strength extension.
7002
+ */
7003
+ ["KHR_materials_emissive_strength"]: {};
7004
+ }
6672
7005
 
6673
7006
  }
6674
7007
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6707,7 +7040,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6707
7040
 
6708
7041
  }
6709
7042
  declare module BABYLON {
6710
-
7043
+ interface GLTFLoaderExtensionOptions {
7044
+ /**
7045
+ * Defines options for the KHR_materials_dispersion extension.
7046
+ */
7047
+ ["KHR_materials_dispersion"]: {};
7048
+ }
6711
7049
 
6712
7050
  }
6713
7051
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6746,7 +7084,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6746
7084
 
6747
7085
  }
6748
7086
  declare module BABYLON {
6749
-
7087
+ interface GLTFLoaderExtensionOptions {
7088
+ /**
7089
+ * Defines options for the KHR_materials_diffuse_transmission extension.
7090
+ */
7091
+ ["KHR_materials_diffuse_transmission"]: {};
7092
+ }
6750
7093
 
6751
7094
  }
6752
7095
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6785,7 +7128,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6785
7128
 
6786
7129
  }
6787
7130
  declare module BABYLON {
6788
-
7131
+ interface GLTFLoaderExtensionOptions {
7132
+ /**
7133
+ * Defines options for the KHR_materials_clearcoat extension.
7134
+ */
7135
+ ["KHR_materials_clearcoat"]: {};
7136
+ }
6789
7137
 
6790
7138
  }
6791
7139
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6823,7 +7171,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6823
7171
 
6824
7172
  }
6825
7173
  declare module BABYLON {
6826
-
7174
+ interface GLTFLoaderExtensionOptions {
7175
+ /**
7176
+ * Defines options for the KHR_materials_anisotropy extension.
7177
+ */
7178
+ ["KHR_materials_anisotropy"]: {};
7179
+ }
6827
7180
 
6828
7181
  }
6829
7182
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6860,7 +7213,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6860
7213
 
6861
7214
  }
6862
7215
  declare module BABYLON {
6863
-
7216
+ interface GLTFLoaderExtensionOptions {
7217
+ /**
7218
+ * Defines options for the KHR_lights_punctual extension.
7219
+ */
7220
+ ["KHR_lights_punctual"]: {};
7221
+ }
6864
7222
 
6865
7223
  }
6866
7224
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6891,7 +7249,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6891
7249
 
6892
7250
  }
6893
7251
  declare module BABYLON {
6894
-
7252
+ interface GLTFLoaderExtensionOptions {
7253
+ /**
7254
+ * Defines options for the KHR_interactivity extension.
7255
+ */
7256
+ ["KHR_interactivity"]: {};
7257
+ }
6895
7258
 
6896
7259
  }
6897
7260
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -6932,7 +7295,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
6932
7295
 
6933
7296
  }
6934
7297
  declare module BABYLON {
6935
-
7298
+ interface GLTFLoaderExtensionOptions {
7299
+ /**
7300
+ * Defines options for the KHR_draco_mesh_compression extension.
7301
+ */
7302
+ ["KHR_draco_mesh_compression"]: {};
7303
+ }
6936
7304
 
6937
7305
  }
6938
7306
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -7268,7 +7636,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
7268
7636
 
7269
7637
  }
7270
7638
  declare module BABYLON {
7271
-
7639
+ interface GLTFLoaderExtensionOptions {
7640
+ /**
7641
+ * Defines options for the KHR_animation_pointer extension.
7642
+ */
7643
+ ["KHR_animation_pointer"]: {};
7644
+ }
7272
7645
 
7273
7646
  }
7274
7647
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -7310,7 +7683,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
7310
7683
 
7311
7684
  }
7312
7685
  declare module BABYLON {
7313
-
7686
+ interface GLTFLoaderExtensionOptions {
7687
+ /**
7688
+ * Defines options for the ExtrasAsMetadata extension.
7689
+ */
7690
+ ["ExtrasAsMetadata"]: {};
7691
+ }
7314
7692
 
7315
7693
  }
7316
7694
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -7339,7 +7717,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
7339
7717
 
7340
7718
  }
7341
7719
  declare module BABYLON {
7342
-
7720
+ interface GLTFLoaderExtensionOptions {
7721
+ /**
7722
+ * Defines options for the EXT_texture_webp extension.
7723
+ */
7724
+ ["EXT_texture_webp"]: {};
7725
+ }
7343
7726
 
7344
7727
  }
7345
7728
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -7369,7 +7752,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
7369
7752
 
7370
7753
  }
7371
7754
  declare module BABYLON {
7372
-
7755
+ interface GLTFLoaderExtensionOptions {
7756
+ /**
7757
+ * Defines options for the EXT_texture_avif extension.
7758
+ */
7759
+ ["EXT_texture_avif"]: {};
7760
+ }
7373
7761
 
7374
7762
  }
7375
7763
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -7405,7 +7793,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
7405
7793
 
7406
7794
  }
7407
7795
  declare module BABYLON {
7408
-
7796
+ interface GLTFLoaderExtensionOptions {
7797
+ /**
7798
+ * Defines options for the EXT_meshopt_compression extension.
7799
+ */
7800
+ ["EXT_meshopt_compression"]: {};
7801
+ }
7409
7802
 
7410
7803
  }
7411
7804
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -7439,7 +7832,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
7439
7832
 
7440
7833
  }
7441
7834
  declare module BABYLON {
7442
-
7835
+ interface GLTFLoaderExtensionOptions {
7836
+ /**
7837
+ * Defines options for the EXT_mesh_gpu_instancing extension.
7838
+ */
7839
+ ["EXT_mesh_gpu_instancing"]: {};
7840
+ }
7443
7841
 
7444
7842
  }
7445
7843
  declare module BABYLON.GLTF2.Loader.Extensions {
@@ -7481,7 +7879,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
7481
7879
 
7482
7880
  }
7483
7881
  declare module BABYLON {
7484
-
7882
+ interface GLTFLoaderExtensionOptions {
7883
+ /**
7884
+ * Defines options for the EXT_lights_image_based extension.
7885
+ */
7886
+ ["EXT_lights_image_based"]: {};
7887
+ }
7485
7888
 
7486
7889
  }
7487
7890
  declare module BABYLON.GLTF1 {
@@ -8169,7 +8572,7 @@ declare module BABYLON {
8169
8572
  /**
8170
8573
  * Defines options for the stl loader.
8171
8574
  */
8172
- [PLUGIN_STL]?: {};
8575
+ [PLUGIN_STL]: {};
8173
8576
  }
8174
8577
  /**
8175
8578
  * STL file type loader.
@@ -8243,7 +8646,7 @@ declare module BABYLON {
8243
8646
  /**
8244
8647
  * Defines options for the splat loader.
8245
8648
  */
8246
- [PLUGIN_SPLAT]?: {};
8649
+ [PLUGIN_SPLAT]: {};
8247
8650
  }
8248
8651
  /**
8249
8652
  * @experimental
@@ -8529,7 +8932,7 @@ declare module BABYLON {
8529
8932
  /**
8530
8933
  * Defines options for the obj loader.
8531
8934
  */
8532
- [PLUGIN_OBJ]?: {};
8935
+ [PLUGIN_OBJ]: {};
8533
8936
  }
8534
8937
  /**
8535
8938
  * OBJ file type loader.