babylonjs-loaders 7.21.4 → 7.22.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.
- package/babylon.glTF1FileLoader.js +19 -7
- package/babylon.glTF1FileLoader.min.js +1 -1
- package/babylon.glTF1FileLoader.min.js.map +1 -1
- package/babylon.glTF2FileLoader.js +19 -7
- package/babylon.glTF2FileLoader.min.js +1 -1
- package/babylon.glTF2FileLoader.min.js.map +1 -1
- package/babylon.glTFFileLoader.js +19 -7
- package/babylon.glTFFileLoader.min.js +1 -1
- package/babylon.glTFFileLoader.min.js.map +1 -1
- package/babylon.objFileLoader.js +1 -1
- package/babylon.objFileLoader.min.js.map +1 -1
- package/babylon.stlFileLoader.js +1 -1
- package/babylon.stlFileLoader.min.js.map +1 -1
- package/babylonjs.loaders.d.ts +204 -49
- package/babylonjs.loaders.js +19 -7
- package/babylonjs.loaders.min.js +1 -1
- package/babylonjs.loaders.min.js.map +1 -1
- package/babylonjs.loaders.module.d.ts +470 -67
- package/package.json +3 -3
package/babylonjs.loaders.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ declare module BABYLON {
|
|
|
44
44
|
/**
|
|
45
45
|
* Defines options for the glTF loader.
|
|
46
46
|
*/
|
|
47
|
-
[PLUGIN_GLTF]
|
|
47
|
+
[PLUGIN_GLTF]: Partial<GLTFLoaderOptions>;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Mode that determines the coordinate system to use.
|
|
@@ -143,7 +143,7 @@ declare module BABYLON {
|
|
|
143
143
|
/**
|
|
144
144
|
* Raised when the asset has been parsed
|
|
145
145
|
*/
|
|
146
|
-
abstract onParsed
|
|
146
|
+
abstract onParsed?: (loaderData: IGLTFLoaderData) => void;
|
|
147
147
|
/**
|
|
148
148
|
* The coordinate system mode. Defaults to AUTO.
|
|
149
149
|
*/
|
|
@@ -237,29 +237,29 @@ declare module BABYLON {
|
|
|
237
237
|
* Callback raised when the loader creates a mesh after parsing the glTF properties of the mesh.
|
|
238
238
|
* 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, ...)
|
|
239
239
|
*/
|
|
240
|
-
abstract onMeshLoaded
|
|
240
|
+
abstract onMeshLoaded?: (mesh: AbstractMesh) => void;
|
|
241
241
|
/**
|
|
242
242
|
* Callback raised when the loader creates a skin after parsing the glTF properties of the skin node.
|
|
243
243
|
* @see https://doc.babylonjs.com/features/featuresDeepDive/importers/glTF/glTFSkinning#ignoring-the-transform-of-the-skinned-mesh
|
|
244
244
|
*/
|
|
245
|
-
abstract onSkinLoaded
|
|
245
|
+
abstract onSkinLoaded?: (node: TransformNode, skinnedNode: TransformNode) => void;
|
|
246
246
|
/**
|
|
247
247
|
* Callback raised when the loader creates a texture after parsing the glTF properties of the texture.
|
|
248
248
|
*/
|
|
249
|
-
abstract onTextureLoaded
|
|
249
|
+
abstract onTextureLoaded?: (texture: BaseTexture) => void;
|
|
250
250
|
/**
|
|
251
251
|
* Callback raised when the loader creates a material after parsing the glTF properties of the material.
|
|
252
252
|
*/
|
|
253
|
-
abstract onMaterialLoaded
|
|
253
|
+
abstract onMaterialLoaded?: (material: Material) => void;
|
|
254
254
|
/**
|
|
255
255
|
* Callback raised when the loader creates a camera after parsing the glTF properties of the camera.
|
|
256
256
|
*/
|
|
257
|
-
abstract onCameraLoaded
|
|
257
|
+
abstract onCameraLoaded?: (camera: Camera) => void;
|
|
258
258
|
/**
|
|
259
259
|
* Defines options for glTF extensions.
|
|
260
260
|
*/
|
|
261
261
|
extensionOptions: {
|
|
262
|
-
[Extension in keyof GLTFLoaderExtensionOptions]
|
|
262
|
+
[Extension in keyof GLTFLoaderExtensionOptions]?: {
|
|
263
263
|
[Option in keyof DefaultExtensionOptions<GLTFLoaderExtensionOptions[Extension]>]: DefaultExtensionOptions<GLTFLoaderExtensionOptions[Extension]>[Option];
|
|
264
264
|
};
|
|
265
265
|
};
|
|
@@ -285,7 +285,7 @@ declare module BABYLON {
|
|
|
285
285
|
/**
|
|
286
286
|
* Raised when the asset has been parsed
|
|
287
287
|
*/
|
|
288
|
-
set onParsed(callback: (loaderData: IGLTFLoaderData) => void);
|
|
288
|
+
set onParsed(callback: ((loaderData: IGLTFLoaderData) => void) | undefined);
|
|
289
289
|
/**
|
|
290
290
|
* 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.
|
|
291
291
|
* Textures always loads asynchronously. For example, the success callback can compute the bounding information of the loaded meshes when incremental loading is disabled.
|
|
@@ -309,7 +309,7 @@ declare module BABYLON {
|
|
|
309
309
|
* Callback raised when the loader creates a mesh after parsing the glTF properties of the mesh.
|
|
310
310
|
* 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, ...)
|
|
311
311
|
*/
|
|
312
|
-
set onMeshLoaded(callback: (mesh: AbstractMesh) => void);
|
|
312
|
+
set onMeshLoaded(callback: ((mesh: AbstractMesh) => void) | undefined);
|
|
313
313
|
/**
|
|
314
314
|
* Observable raised when the loader creates a skin after parsing the glTF properties of the skin node.
|
|
315
315
|
* @see https://doc.babylonjs.com/features/featuresDeepDive/importers/glTF/glTFSkinning#ignoring-the-transform-of-the-skinned-mesh
|
|
@@ -325,7 +325,7 @@ declare module BABYLON {
|
|
|
325
325
|
* Callback raised when the loader creates a skin after parsing the glTF properties of the skin node.
|
|
326
326
|
* @see https://doc.babylonjs.com/features/featuresDeepDive/importers/glTF/glTFSkinning#ignoring-the-transform-of-the-skinned-mesh
|
|
327
327
|
*/
|
|
328
|
-
set onSkinLoaded(callback: (node: TransformNode, skinnedNode: TransformNode) => void);
|
|
328
|
+
set onSkinLoaded(callback: ((node: TransformNode, skinnedNode: TransformNode) => void) | undefined);
|
|
329
329
|
/**
|
|
330
330
|
* Observable raised when the loader creates a texture after parsing the glTF properties of the texture.
|
|
331
331
|
*/
|
|
@@ -334,7 +334,7 @@ declare module BABYLON {
|
|
|
334
334
|
/**
|
|
335
335
|
* Callback raised when the loader creates a texture after parsing the glTF properties of the texture.
|
|
336
336
|
*/
|
|
337
|
-
set onTextureLoaded(callback: (texture: BaseTexture) => void);
|
|
337
|
+
set onTextureLoaded(callback: ((texture: BaseTexture) => void) | undefined);
|
|
338
338
|
/**
|
|
339
339
|
* Observable raised when the loader creates a material after parsing the glTF properties of the material.
|
|
340
340
|
*/
|
|
@@ -343,7 +343,7 @@ declare module BABYLON {
|
|
|
343
343
|
/**
|
|
344
344
|
* Callback raised when the loader creates a material after parsing the glTF properties of the material.
|
|
345
345
|
*/
|
|
346
|
-
set onMaterialLoaded(callback: (material: Material) => void);
|
|
346
|
+
set onMaterialLoaded(callback: ((material: Material) => void) | undefined);
|
|
347
347
|
/**
|
|
348
348
|
* Observable raised when the loader creates a camera after parsing the glTF properties of the camera.
|
|
349
349
|
*/
|
|
@@ -352,7 +352,7 @@ declare module BABYLON {
|
|
|
352
352
|
/**
|
|
353
353
|
* Callback raised when the loader creates a camera after parsing the glTF properties of the camera.
|
|
354
354
|
*/
|
|
355
|
-
set onCameraLoaded(callback: (camera: Camera) => void);
|
|
355
|
+
set onCameraLoaded(callback: ((camera: Camera) => void) | undefined);
|
|
356
356
|
/**
|
|
357
357
|
* Observable raised when the asset is completely loaded, immediately before the loader is disposed.
|
|
358
358
|
* For assets with LODs, raised when all of the LODs are complete.
|
|
@@ -1515,7 +1515,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
1515
1515
|
|
|
1516
1516
|
}
|
|
1517
1517
|
declare module BABYLON {
|
|
1518
|
-
|
|
1518
|
+
interface GLTFLoaderExtensionOptions {
|
|
1519
|
+
/**
|
|
1520
|
+
* Defines options for the MSFT_sRGBFactors extension.
|
|
1521
|
+
*/
|
|
1522
|
+
["MSFT_sRGBFactors"]: {};
|
|
1523
|
+
}
|
|
1519
1524
|
|
|
1520
1525
|
}
|
|
1521
1526
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -1538,7 +1543,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
1538
1543
|
|
|
1539
1544
|
}
|
|
1540
1545
|
declare module BABYLON {
|
|
1541
|
-
|
|
1546
|
+
interface GLTFLoaderExtensionOptions {
|
|
1547
|
+
/**
|
|
1548
|
+
* Defines options for the MSFT_minecraftMesh extension.
|
|
1549
|
+
*/
|
|
1550
|
+
["MSFT_minecraftMesh"]: {};
|
|
1551
|
+
}
|
|
1542
1552
|
|
|
1543
1553
|
}
|
|
1544
1554
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -1633,7 +1643,7 @@ declare module BABYLON {
|
|
|
1633
1643
|
/**
|
|
1634
1644
|
* Defines options for the MSFT_lod extension.
|
|
1635
1645
|
*/
|
|
1636
|
-
["MSFT_lod"]
|
|
1646
|
+
["MSFT_lod"]: Partial<{
|
|
1637
1647
|
/**
|
|
1638
1648
|
* Maximum number of LODs to load, starting from the lowest LOD.
|
|
1639
1649
|
*/
|
|
@@ -1689,7 +1699,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
1689
1699
|
|
|
1690
1700
|
}
|
|
1691
1701
|
declare module BABYLON {
|
|
1692
|
-
|
|
1702
|
+
interface GLTFLoaderExtensionOptions {
|
|
1703
|
+
/**
|
|
1704
|
+
* Defines options for the MSFT_audio_emitter extension.
|
|
1705
|
+
*/
|
|
1706
|
+
["MSFT_audio_emitter"]: {};
|
|
1707
|
+
}
|
|
1693
1708
|
|
|
1694
1709
|
}
|
|
1695
1710
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -1727,7 +1742,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
1727
1742
|
|
|
1728
1743
|
}
|
|
1729
1744
|
declare module BABYLON {
|
|
1730
|
-
|
|
1745
|
+
interface GLTFLoaderExtensionOptions {
|
|
1746
|
+
/**
|
|
1747
|
+
* Defines options for the KHR_xmp_json_ld extension.
|
|
1748
|
+
*/
|
|
1749
|
+
["KHR_xmp_json_ld"]: {};
|
|
1750
|
+
}
|
|
1731
1751
|
|
|
1732
1752
|
}
|
|
1733
1753
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -1760,7 +1780,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
1760
1780
|
|
|
1761
1781
|
}
|
|
1762
1782
|
declare module BABYLON {
|
|
1763
|
-
|
|
1783
|
+
interface GLTFLoaderExtensionOptions {
|
|
1784
|
+
/**
|
|
1785
|
+
* Defines options for the KHR_texture_transform extension.
|
|
1786
|
+
*/
|
|
1787
|
+
["KHR_texture_transform"]: {};
|
|
1788
|
+
}
|
|
1764
1789
|
|
|
1765
1790
|
}
|
|
1766
1791
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -1789,7 +1814,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
1789
1814
|
|
|
1790
1815
|
}
|
|
1791
1816
|
declare module BABYLON {
|
|
1792
|
-
|
|
1817
|
+
interface GLTFLoaderExtensionOptions {
|
|
1818
|
+
/**
|
|
1819
|
+
* Defines options for the KHR_texture_basisu extension.
|
|
1820
|
+
*/
|
|
1821
|
+
["KHR_texture_basisu"]: {};
|
|
1822
|
+
}
|
|
1793
1823
|
|
|
1794
1824
|
}
|
|
1795
1825
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -1817,7 +1847,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
1817
1847
|
|
|
1818
1848
|
}
|
|
1819
1849
|
declare module BABYLON {
|
|
1820
|
-
|
|
1850
|
+
interface GLTFLoaderExtensionOptions {
|
|
1851
|
+
/**
|
|
1852
|
+
* Defines options for the KHR_mesh_quantization extension.
|
|
1853
|
+
*/
|
|
1854
|
+
["KHR_mesh_quantization"]: {};
|
|
1855
|
+
}
|
|
1821
1856
|
|
|
1822
1857
|
}
|
|
1823
1858
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -1856,7 +1891,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
1856
1891
|
|
|
1857
1892
|
}
|
|
1858
1893
|
declare module BABYLON {
|
|
1859
|
-
|
|
1894
|
+
interface GLTFLoaderExtensionOptions {
|
|
1895
|
+
/**
|
|
1896
|
+
* Defines options for the KHR_materials_volume extension.
|
|
1897
|
+
*/
|
|
1898
|
+
["KHR_materials_volume"]: {};
|
|
1899
|
+
}
|
|
1860
1900
|
|
|
1861
1901
|
}
|
|
1862
1902
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -1939,7 +1979,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
1939
1979
|
|
|
1940
1980
|
}
|
|
1941
1981
|
declare module BABYLON {
|
|
1942
|
-
|
|
1982
|
+
interface GLTFLoaderExtensionOptions {
|
|
1983
|
+
/**
|
|
1984
|
+
* Defines options for the KHR_materials_variants extension.
|
|
1985
|
+
*/
|
|
1986
|
+
["KHR_materials_variants"]: {};
|
|
1987
|
+
}
|
|
1943
1988
|
|
|
1944
1989
|
}
|
|
1945
1990
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -1977,7 +2022,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
1977
2022
|
|
|
1978
2023
|
}
|
|
1979
2024
|
declare module BABYLON {
|
|
1980
|
-
|
|
2025
|
+
interface GLTFLoaderExtensionOptions {
|
|
2026
|
+
/**
|
|
2027
|
+
* Defines options for the KHR_materials_unlit extension.
|
|
2028
|
+
*/
|
|
2029
|
+
["KHR_materials_unlit"]: {};
|
|
2030
|
+
}
|
|
1981
2031
|
|
|
1982
2032
|
}
|
|
1983
2033
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2015,7 +2065,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2015
2065
|
|
|
2016
2066
|
}
|
|
2017
2067
|
declare module BABYLON {
|
|
2018
|
-
|
|
2068
|
+
interface GLTFLoaderExtensionOptions {
|
|
2069
|
+
/**
|
|
2070
|
+
* Defines options for the KHR_materials_transmission extension.
|
|
2071
|
+
*/
|
|
2072
|
+
["KHR_materials_transmission"]: {};
|
|
2073
|
+
}
|
|
2019
2074
|
|
|
2020
2075
|
}
|
|
2021
2076
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2053,7 +2108,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2053
2108
|
|
|
2054
2109
|
}
|
|
2055
2110
|
declare module BABYLON {
|
|
2056
|
-
|
|
2111
|
+
interface GLTFLoaderExtensionOptions {
|
|
2112
|
+
/**
|
|
2113
|
+
* Defines options for the KHR_materials_specular extension.
|
|
2114
|
+
*/
|
|
2115
|
+
["KHR_materials_specular"]: {};
|
|
2116
|
+
}
|
|
2057
2117
|
|
|
2058
2118
|
}
|
|
2059
2119
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2092,7 +2152,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2092
2152
|
|
|
2093
2153
|
}
|
|
2094
2154
|
declare module BABYLON {
|
|
2095
|
-
|
|
2155
|
+
interface GLTFLoaderExtensionOptions {
|
|
2156
|
+
/**
|
|
2157
|
+
* Defines options for the KHR_materials_sheen extension.
|
|
2158
|
+
*/
|
|
2159
|
+
["KHR_materials_sheen"]: {};
|
|
2160
|
+
}
|
|
2096
2161
|
|
|
2097
2162
|
}
|
|
2098
2163
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2130,7 +2195,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2130
2195
|
|
|
2131
2196
|
}
|
|
2132
2197
|
declare module BABYLON {
|
|
2133
|
-
|
|
2198
|
+
interface GLTFLoaderExtensionOptions {
|
|
2199
|
+
/**
|
|
2200
|
+
* Defines options for the KHR_materials_pbrSpecularGlossiness extension.
|
|
2201
|
+
*/
|
|
2202
|
+
["KHR_materials_pbrSpecularGlossiness"]: {};
|
|
2203
|
+
}
|
|
2134
2204
|
|
|
2135
2205
|
}
|
|
2136
2206
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2168,7 +2238,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2168
2238
|
|
|
2169
2239
|
}
|
|
2170
2240
|
declare module BABYLON {
|
|
2171
|
-
|
|
2241
|
+
interface GLTFLoaderExtensionOptions {
|
|
2242
|
+
/**
|
|
2243
|
+
* Defines options for the KHR_materials_iridescence extension.
|
|
2244
|
+
*/
|
|
2245
|
+
["KHR_materials_iridescence"]: {};
|
|
2246
|
+
}
|
|
2172
2247
|
|
|
2173
2248
|
}
|
|
2174
2249
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2210,7 +2285,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2210
2285
|
|
|
2211
2286
|
}
|
|
2212
2287
|
declare module BABYLON {
|
|
2213
|
-
|
|
2288
|
+
interface GLTFLoaderExtensionOptions {
|
|
2289
|
+
/**
|
|
2290
|
+
* Defines options for the KHR_materials_ior extension.
|
|
2291
|
+
*/
|
|
2292
|
+
["KHR_materials_ior"]: {};
|
|
2293
|
+
}
|
|
2214
2294
|
|
|
2215
2295
|
}
|
|
2216
2296
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2248,7 +2328,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2248
2328
|
|
|
2249
2329
|
}
|
|
2250
2330
|
declare module BABYLON {
|
|
2251
|
-
|
|
2331
|
+
interface GLTFLoaderExtensionOptions {
|
|
2332
|
+
/**
|
|
2333
|
+
* Defines options for the KHR_materials_emissive_strength extension.
|
|
2334
|
+
*/
|
|
2335
|
+
["KHR_materials_emissive_strength"]: {};
|
|
2336
|
+
}
|
|
2252
2337
|
|
|
2253
2338
|
}
|
|
2254
2339
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2287,7 +2372,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2287
2372
|
|
|
2288
2373
|
}
|
|
2289
2374
|
declare module BABYLON {
|
|
2290
|
-
|
|
2375
|
+
interface GLTFLoaderExtensionOptions {
|
|
2376
|
+
/**
|
|
2377
|
+
* Defines options for the KHR_materials_dispersion extension.
|
|
2378
|
+
*/
|
|
2379
|
+
["KHR_materials_dispersion"]: {};
|
|
2380
|
+
}
|
|
2291
2381
|
|
|
2292
2382
|
}
|
|
2293
2383
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2326,7 +2416,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2326
2416
|
|
|
2327
2417
|
}
|
|
2328
2418
|
declare module BABYLON {
|
|
2329
|
-
|
|
2419
|
+
interface GLTFLoaderExtensionOptions {
|
|
2420
|
+
/**
|
|
2421
|
+
* Defines options for the KHR_materials_diffuse_transmission extension.
|
|
2422
|
+
*/
|
|
2423
|
+
["KHR_materials_diffuse_transmission"]: {};
|
|
2424
|
+
}
|
|
2330
2425
|
|
|
2331
2426
|
}
|
|
2332
2427
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2365,7 +2460,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2365
2460
|
|
|
2366
2461
|
}
|
|
2367
2462
|
declare module BABYLON {
|
|
2368
|
-
|
|
2463
|
+
interface GLTFLoaderExtensionOptions {
|
|
2464
|
+
/**
|
|
2465
|
+
* Defines options for the KHR_materials_clearcoat extension.
|
|
2466
|
+
*/
|
|
2467
|
+
["KHR_materials_clearcoat"]: {};
|
|
2468
|
+
}
|
|
2369
2469
|
|
|
2370
2470
|
}
|
|
2371
2471
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2403,7 +2503,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2403
2503
|
|
|
2404
2504
|
}
|
|
2405
2505
|
declare module BABYLON {
|
|
2406
|
-
|
|
2506
|
+
interface GLTFLoaderExtensionOptions {
|
|
2507
|
+
/**
|
|
2508
|
+
* Defines options for the KHR_materials_anisotropy extension.
|
|
2509
|
+
*/
|
|
2510
|
+
["KHR_materials_anisotropy"]: {};
|
|
2511
|
+
}
|
|
2407
2512
|
|
|
2408
2513
|
}
|
|
2409
2514
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2440,7 +2545,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2440
2545
|
|
|
2441
2546
|
}
|
|
2442
2547
|
declare module BABYLON {
|
|
2443
|
-
|
|
2548
|
+
interface GLTFLoaderExtensionOptions {
|
|
2549
|
+
/**
|
|
2550
|
+
* Defines options for the KHR_lights_punctual extension.
|
|
2551
|
+
*/
|
|
2552
|
+
["KHR_lights_punctual"]: {};
|
|
2553
|
+
}
|
|
2444
2554
|
|
|
2445
2555
|
}
|
|
2446
2556
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2471,7 +2581,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2471
2581
|
|
|
2472
2582
|
}
|
|
2473
2583
|
declare module BABYLON {
|
|
2474
|
-
|
|
2584
|
+
interface GLTFLoaderExtensionOptions {
|
|
2585
|
+
/**
|
|
2586
|
+
* Defines options for the KHR_interactivity extension.
|
|
2587
|
+
*/
|
|
2588
|
+
["KHR_interactivity"]: {};
|
|
2589
|
+
}
|
|
2475
2590
|
|
|
2476
2591
|
}
|
|
2477
2592
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2512,7 +2627,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2512
2627
|
|
|
2513
2628
|
}
|
|
2514
2629
|
declare module BABYLON {
|
|
2515
|
-
|
|
2630
|
+
interface GLTFLoaderExtensionOptions {
|
|
2631
|
+
/**
|
|
2632
|
+
* Defines options for the KHR_draco_mesh_compression extension.
|
|
2633
|
+
*/
|
|
2634
|
+
["KHR_draco_mesh_compression"]: {};
|
|
2635
|
+
}
|
|
2516
2636
|
|
|
2517
2637
|
}
|
|
2518
2638
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2848,7 +2968,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2848
2968
|
|
|
2849
2969
|
}
|
|
2850
2970
|
declare module BABYLON {
|
|
2851
|
-
|
|
2971
|
+
interface GLTFLoaderExtensionOptions {
|
|
2972
|
+
/**
|
|
2973
|
+
* Defines options for the KHR_animation_pointer extension.
|
|
2974
|
+
*/
|
|
2975
|
+
["KHR_animation_pointer"]: {};
|
|
2976
|
+
}
|
|
2852
2977
|
|
|
2853
2978
|
}
|
|
2854
2979
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2890,7 +3015,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2890
3015
|
|
|
2891
3016
|
}
|
|
2892
3017
|
declare module BABYLON {
|
|
2893
|
-
|
|
3018
|
+
interface GLTFLoaderExtensionOptions {
|
|
3019
|
+
/**
|
|
3020
|
+
* Defines options for the ExtrasAsMetadata extension.
|
|
3021
|
+
*/
|
|
3022
|
+
["ExtrasAsMetadata"]: {};
|
|
3023
|
+
}
|
|
2894
3024
|
|
|
2895
3025
|
}
|
|
2896
3026
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2919,7 +3049,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2919
3049
|
|
|
2920
3050
|
}
|
|
2921
3051
|
declare module BABYLON {
|
|
2922
|
-
|
|
3052
|
+
interface GLTFLoaderExtensionOptions {
|
|
3053
|
+
/**
|
|
3054
|
+
* Defines options for the EXT_texture_webp extension.
|
|
3055
|
+
*/
|
|
3056
|
+
["EXT_texture_webp"]: {};
|
|
3057
|
+
}
|
|
2923
3058
|
|
|
2924
3059
|
}
|
|
2925
3060
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2949,7 +3084,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2949
3084
|
|
|
2950
3085
|
}
|
|
2951
3086
|
declare module BABYLON {
|
|
2952
|
-
|
|
3087
|
+
interface GLTFLoaderExtensionOptions {
|
|
3088
|
+
/**
|
|
3089
|
+
* Defines options for the EXT_texture_avif extension.
|
|
3090
|
+
*/
|
|
3091
|
+
["EXT_texture_avif"]: {};
|
|
3092
|
+
}
|
|
2953
3093
|
|
|
2954
3094
|
}
|
|
2955
3095
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -2985,7 +3125,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
2985
3125
|
|
|
2986
3126
|
}
|
|
2987
3127
|
declare module BABYLON {
|
|
2988
|
-
|
|
3128
|
+
interface GLTFLoaderExtensionOptions {
|
|
3129
|
+
/**
|
|
3130
|
+
* Defines options for the EXT_meshopt_compression extension.
|
|
3131
|
+
*/
|
|
3132
|
+
["EXT_meshopt_compression"]: {};
|
|
3133
|
+
}
|
|
2989
3134
|
|
|
2990
3135
|
}
|
|
2991
3136
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -3019,7 +3164,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
3019
3164
|
|
|
3020
3165
|
}
|
|
3021
3166
|
declare module BABYLON {
|
|
3022
|
-
|
|
3167
|
+
interface GLTFLoaderExtensionOptions {
|
|
3168
|
+
/**
|
|
3169
|
+
* Defines options for the EXT_mesh_gpu_instancing extension.
|
|
3170
|
+
*/
|
|
3171
|
+
["EXT_mesh_gpu_instancing"]: {};
|
|
3172
|
+
}
|
|
3023
3173
|
|
|
3024
3174
|
}
|
|
3025
3175
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
@@ -3061,7 +3211,12 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
3061
3211
|
|
|
3062
3212
|
}
|
|
3063
3213
|
declare module BABYLON {
|
|
3064
|
-
|
|
3214
|
+
interface GLTFLoaderExtensionOptions {
|
|
3215
|
+
/**
|
|
3216
|
+
* Defines options for the EXT_lights_image_based extension.
|
|
3217
|
+
*/
|
|
3218
|
+
["EXT_lights_image_based"]: {};
|
|
3219
|
+
}
|
|
3065
3220
|
|
|
3066
3221
|
}
|
|
3067
3222
|
declare module BABYLON.GLTF1 {
|
|
@@ -3749,7 +3904,7 @@ declare module BABYLON {
|
|
|
3749
3904
|
/**
|
|
3750
3905
|
* Defines options for the stl loader.
|
|
3751
3906
|
*/
|
|
3752
|
-
[PLUGIN_STL]
|
|
3907
|
+
[PLUGIN_STL]: {};
|
|
3753
3908
|
}
|
|
3754
3909
|
/**
|
|
3755
3910
|
* STL file type loader.
|
|
@@ -3823,7 +3978,7 @@ declare module BABYLON {
|
|
|
3823
3978
|
/**
|
|
3824
3979
|
* Defines options for the splat loader.
|
|
3825
3980
|
*/
|
|
3826
|
-
[PLUGIN_SPLAT]
|
|
3981
|
+
[PLUGIN_SPLAT]: {};
|
|
3827
3982
|
}
|
|
3828
3983
|
/**
|
|
3829
3984
|
* @experimental
|
|
@@ -4109,7 +4264,7 @@ declare module BABYLON {
|
|
|
4109
4264
|
/**
|
|
4110
4265
|
* Defines options for the obj loader.
|
|
4111
4266
|
*/
|
|
4112
|
-
[PLUGIN_OBJ]
|
|
4267
|
+
[PLUGIN_OBJ]: {};
|
|
4113
4268
|
}
|
|
4114
4269
|
/**
|
|
4115
4270
|
* OBJ file type loader.
|