babylonjs-loaders 9.0.0 → 9.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/babylon.bvhFileLoader.js +1 -1
- package/babylon.bvhFileLoader.min.js +1 -1
- package/babylon.bvhFileLoader.min.js.map +1 -1
- package/babylon.glTF1FileLoader.js +1 -1
- package/babylon.glTF1FileLoader.min.js +1 -1
- package/babylon.glTF1FileLoader.min.js.map +1 -1
- package/babylon.glTF2FileLoader.js +1 -1
- package/babylon.glTF2FileLoader.min.js +1 -1
- package/babylon.glTF2FileLoader.min.js.map +1 -1
- package/babylon.glTFFileLoader.js +1 -1
- 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 +1 -1
- package/babylon.objFileLoader.min.js.map +1 -1
- package/babylon.stlFileLoader.js +1 -1
- package/babylon.stlFileLoader.min.js +1 -1
- package/babylon.stlFileLoader.min.js.map +1 -1
- package/babylonjs.loaders.d.ts +222 -169
- package/babylonjs.loaders.js +1 -1
- package/babylonjs.loaders.min.js +1 -1
- package/babylonjs.loaders.min.js.map +1 -1
- package/babylonjs.loaders.module.d.ts +357 -221
- package/config.json +1 -1
- package/package.json +4 -3
- package/readme.md +18 -22
- package/src/bvhFileLoader.ts +1 -1
- package/src/glTF1FileLoader.ts +1 -1
- package/src/glTF2FileLoader.ts +1 -1
- package/src/glTFFileLoader.ts +1 -1
- package/src/index.ts +1 -1
- package/src/objFileLoader.ts +1 -1
- package/src/stlFileLoader.ts +1 -1
- package/tsconfig.build.json +4 -4
- package/tsconfig.json +2 -2
- package/webpack.config.js +26 -27
|
@@ -15,6 +15,64 @@ declare module "babylonjs-loaders/dynamic" {
|
|
|
15
15
|
*/
|
|
16
16
|
export function registerBuiltInLoaders(): void;
|
|
17
17
|
|
|
18
|
+
}
|
|
19
|
+
declare module "babylonjs-loaders/legacy/legacy" {
|
|
20
|
+
export * from "babylonjs-loaders/index";
|
|
21
|
+
export * from "babylonjs-loaders/legacy/legacy-bvhFileLoader";
|
|
22
|
+
export * from "babylonjs-loaders/legacy/legacy-dynamic";
|
|
23
|
+
export * from "babylonjs-loaders/legacy/legacy-glTF";
|
|
24
|
+
export * from "babylonjs-loaders/legacy/legacy-glTF1";
|
|
25
|
+
export * from "babylonjs-loaders/legacy/legacy-glTF2";
|
|
26
|
+
export * from "babylonjs-loaders/legacy/legacy-objFileLoader";
|
|
27
|
+
export * from "babylonjs-loaders/legacy/legacy-stlFileLoader";
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
declare module "babylonjs-loaders/legacy/legacy-stlFileLoader" {
|
|
31
|
+
export * from "babylonjs-loaders/STL/index";
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
declare module "babylonjs-loaders/legacy/legacy-objFileLoader" {
|
|
35
|
+
export * from "babylonjs-loaders/OBJ/index";
|
|
36
|
+
|
|
37
|
+
}
|
|
38
|
+
declare module "babylonjs-loaders/legacy/legacy-glTFFileLoader" {
|
|
39
|
+
export * from "babylonjs-loaders/legacy/legacy-glTF";
|
|
40
|
+
export * from "babylonjs-loaders/legacy/legacy-glTF1";
|
|
41
|
+
export * from "babylonjs-loaders/legacy/legacy-glTF2";
|
|
42
|
+
|
|
43
|
+
}
|
|
44
|
+
declare module "babylonjs-loaders/legacy/legacy-glTF2FileLoader" {
|
|
45
|
+
export * from "babylonjs-loaders/legacy/legacy-glTF";
|
|
46
|
+
export * from "babylonjs-loaders/legacy/legacy-glTF2";
|
|
47
|
+
|
|
48
|
+
}
|
|
49
|
+
declare module "babylonjs-loaders/legacy/legacy-glTF2" {
|
|
50
|
+
import * as GLTF2 from "babylonjs-loaders/glTF/2.0/index";
|
|
51
|
+
export { GLTF2 };
|
|
52
|
+
|
|
53
|
+
}
|
|
54
|
+
declare module "babylonjs-loaders/legacy/legacy-glTF1FileLoader" {
|
|
55
|
+
export * from "babylonjs-loaders/legacy/legacy-glTF";
|
|
56
|
+
export * from "babylonjs-loaders/legacy/legacy-glTF1";
|
|
57
|
+
|
|
58
|
+
}
|
|
59
|
+
declare module "babylonjs-loaders/legacy/legacy-glTF1" {
|
|
60
|
+
import * as GLTF1 from "babylonjs-loaders/glTF/1.0/index";
|
|
61
|
+
export { GLTF1 };
|
|
62
|
+
|
|
63
|
+
}
|
|
64
|
+
declare module "babylonjs-loaders/legacy/legacy-glTF" {
|
|
65
|
+
export * from "babylonjs-loaders/glTF/glTFFileLoader";
|
|
66
|
+
export * from "babylonjs-loaders/glTF/glTFValidation";
|
|
67
|
+
|
|
68
|
+
}
|
|
69
|
+
declare module "babylonjs-loaders/legacy/legacy-dynamic" {
|
|
70
|
+
export * from "babylonjs-loaders/dynamic";
|
|
71
|
+
|
|
72
|
+
}
|
|
73
|
+
declare module "babylonjs-loaders/legacy/legacy-bvhFileLoader" {
|
|
74
|
+
export * from "babylonjs-loaders/BVH/index";
|
|
75
|
+
|
|
18
76
|
}
|
|
19
77
|
declare module "babylonjs-loaders/glTF/index" {
|
|
20
78
|
export * from "babylonjs-loaders/glTF/glTFFileLoader";
|
|
@@ -642,14 +700,12 @@ import { Material } from "babylonjs/Materials/material";
|
|
|
642
700
|
import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
|
|
643
701
|
import { Nullable } from "babylonjs/types";
|
|
644
702
|
import { Color3 } from "babylonjs/Maths/math.color";
|
|
645
|
-
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
646
703
|
import { IMaterialLoadingAdapter } from "babylonjs-loaders/glTF/2.0/materialLoadingAdapter";
|
|
647
704
|
/**
|
|
648
705
|
* Material Loading Adapter for PBR materials that provides a unified OpenPBR-like interface.
|
|
649
706
|
*/
|
|
650
707
|
export class PBRMaterialLoadingAdapter implements IMaterialLoadingAdapter {
|
|
651
708
|
private _material;
|
|
652
|
-
private _extinctionCoefficient;
|
|
653
709
|
/**
|
|
654
710
|
* Creates a new instance of the PBRMaterialLoadingAdapter.
|
|
655
711
|
* @param material - The PBR material to adapt.
|
|
@@ -1066,6 +1122,7 @@ export class PBRMaterialLoadingAdapter implements IMaterialLoadingAdapter {
|
|
|
1066
1122
|
* @returns The scatter coefficient as a Color3
|
|
1067
1123
|
*/
|
|
1068
1124
|
get transmissionScatter(): Color3;
|
|
1125
|
+
set transmissionScatterTexture(value: Nullable<BaseTexture>);
|
|
1069
1126
|
/**
|
|
1070
1127
|
* Sets the transmission scattering anisotropy.
|
|
1071
1128
|
* @param value The anisotropy intensity value (-1 to 1)
|
|
@@ -1096,6 +1153,15 @@ export class PBRMaterialLoadingAdapter implements IMaterialLoadingAdapter {
|
|
|
1096
1153
|
* Sets up the material for proper thin-surface transmission behavior.
|
|
1097
1154
|
*/
|
|
1098
1155
|
configureTransmission(): void;
|
|
1156
|
+
configureVolume(): void;
|
|
1157
|
+
/**
|
|
1158
|
+
* Sets whether the material is thin-walled (i.e. non-volumetric) or not.
|
|
1159
|
+
*/
|
|
1160
|
+
set geometryThinWalled(value: boolean);
|
|
1161
|
+
/**
|
|
1162
|
+
* Gets whether the material is thin-walled (i.e. non-volumetric) or not.
|
|
1163
|
+
*/
|
|
1164
|
+
get geometryThinWalled(): boolean;
|
|
1099
1165
|
/**
|
|
1100
1166
|
* Sets the thickness texture (mapped to PBR subSurface.thicknessTexture).
|
|
1101
1167
|
* Automatically enables refraction.
|
|
@@ -1112,15 +1178,6 @@ export class PBRMaterialLoadingAdapter implements IMaterialLoadingAdapter {
|
|
|
1112
1178
|
* Configures subsurface properties for PBR material
|
|
1113
1179
|
*/
|
|
1114
1180
|
configureSubsurface(): void;
|
|
1115
|
-
/**
|
|
1116
|
-
* Sets the extinction coefficient of the volume.
|
|
1117
|
-
* @param value The extinction coefficient as a Vector3
|
|
1118
|
-
*/
|
|
1119
|
-
set extinctionCoefficient(value: Vector3);
|
|
1120
|
-
/**
|
|
1121
|
-
* Gets the extinction coefficient of the volume.
|
|
1122
|
-
*/
|
|
1123
|
-
get extinctionCoefficient(): Vector3;
|
|
1124
1181
|
/**
|
|
1125
1182
|
* Sets the subsurface weight
|
|
1126
1183
|
*/
|
|
@@ -1147,17 +1204,17 @@ export class PBRMaterialLoadingAdapter implements IMaterialLoadingAdapter {
|
|
|
1147
1204
|
/**
|
|
1148
1205
|
* Sets the surface tint of the material (when using subsurface scattering)
|
|
1149
1206
|
*/
|
|
1150
|
-
set
|
|
1207
|
+
set diffuseTransmissionTint(value: Color3);
|
|
1151
1208
|
/**
|
|
1152
1209
|
* Gets the subsurface constant tint (when using subsurface scattering)
|
|
1153
1210
|
* @returns The subsurface constant tint as a Color3
|
|
1154
1211
|
*/
|
|
1155
|
-
get
|
|
1212
|
+
get diffuseTransmissionTint(): Color3;
|
|
1156
1213
|
/**
|
|
1157
1214
|
* Sets the subsurface constant tint texture (when using subsurface scattering)
|
|
1158
1215
|
* @param value The subsurface constant tint texture or null
|
|
1159
1216
|
*/
|
|
1160
|
-
set
|
|
1217
|
+
set diffuseTransmissionTintTexture(value: Nullable<BaseTexture>);
|
|
1161
1218
|
/**
|
|
1162
1219
|
* Gets the subsurface radius (used for subsurface scattering)
|
|
1163
1220
|
* subsurfaceRadiusScale * subsurfaceRadius gives the mean free path per color channel.
|
|
@@ -1188,6 +1245,11 @@ export class PBRMaterialLoadingAdapter implements IMaterialLoadingAdapter {
|
|
|
1188
1245
|
* @param value The anisotropy intensity value (ignored for PBR)
|
|
1189
1246
|
*/
|
|
1190
1247
|
set subsurfaceScatterAnisotropy(value: number);
|
|
1248
|
+
/**
|
|
1249
|
+
* Does this material have a translucent surface (i.e. either transmission or subsurface)?
|
|
1250
|
+
* @returns True if the material is translucent, false otherwise
|
|
1251
|
+
*/
|
|
1252
|
+
isTranslucent(): boolean;
|
|
1191
1253
|
/**
|
|
1192
1254
|
* Configures sheen for PBR material.
|
|
1193
1255
|
* Enables sheen and sets up proper configuration.
|
|
@@ -1351,13 +1413,11 @@ import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
|
|
|
1351
1413
|
import { Nullable } from "babylonjs/types";
|
|
1352
1414
|
import { Color3 } from "babylonjs/Maths/math.color";
|
|
1353
1415
|
import { IMaterialLoadingAdapter } from "babylonjs-loaders/glTF/2.0/materialLoadingAdapter";
|
|
1354
|
-
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
1355
1416
|
/**
|
|
1356
1417
|
* Material Loading Adapter for OpenPBR materials that provides a unified OpenPBR-like interface.
|
|
1357
1418
|
*/
|
|
1358
1419
|
export class OpenPBRMaterialLoadingAdapter implements IMaterialLoadingAdapter {
|
|
1359
1420
|
private _material;
|
|
1360
|
-
private _extinctionCoefficient;
|
|
1361
1421
|
/**
|
|
1362
1422
|
* Creates a new instance of the OpenPBRMaterialLoadingAdapter.
|
|
1363
1423
|
* @param material - The OpenPBR material to adapt.
|
|
@@ -1749,7 +1809,15 @@ export class OpenPBRMaterialLoadingAdapter implements IMaterialLoadingAdapter {
|
|
|
1749
1809
|
* @returns The scatter coefficient as a Vector3
|
|
1750
1810
|
*/
|
|
1751
1811
|
get transmissionScatter(): Color3;
|
|
1812
|
+
/**
|
|
1813
|
+
* Sets the transmission scatter texture.
|
|
1814
|
+
* @param value The transmission scatter texture or null
|
|
1815
|
+
*/
|
|
1752
1816
|
set transmissionScatterTexture(value: Nullable<BaseTexture>);
|
|
1817
|
+
/**
|
|
1818
|
+
* Gets the transmission scatter texture.
|
|
1819
|
+
* @returns The transmission scatter texture or null
|
|
1820
|
+
*/
|
|
1753
1821
|
get transmissionScatterTexture(): Nullable<BaseTexture>;
|
|
1754
1822
|
/**
|
|
1755
1823
|
* Sets the transmission scattering anisotropy.
|
|
@@ -1794,6 +1862,15 @@ export class OpenPBRMaterialLoadingAdapter implements IMaterialLoadingAdapter {
|
|
|
1794
1862
|
* @param value The refraction background texture or null
|
|
1795
1863
|
*/
|
|
1796
1864
|
set refractionBackgroundTexture(value: Nullable<BaseTexture>);
|
|
1865
|
+
configureVolume(): void;
|
|
1866
|
+
/**
|
|
1867
|
+
* Sets whether the material is thin-walled (i.e. non-volumetric) or not.
|
|
1868
|
+
*/
|
|
1869
|
+
set geometryThinWalled(value: boolean);
|
|
1870
|
+
/**
|
|
1871
|
+
* Gets whether the material is thin-walled (i.e. non-volumetric) or not.
|
|
1872
|
+
*/
|
|
1873
|
+
get geometryThinWalled(): boolean;
|
|
1797
1874
|
/**
|
|
1798
1875
|
* Sets the thickness texture.
|
|
1799
1876
|
* @param value The thickness texture or null
|
|
@@ -1808,15 +1885,6 @@ export class OpenPBRMaterialLoadingAdapter implements IMaterialLoadingAdapter {
|
|
|
1808
1885
|
* Configures subsurface properties for PBR material
|
|
1809
1886
|
*/
|
|
1810
1887
|
configureSubsurface(): void;
|
|
1811
|
-
/**
|
|
1812
|
-
* Sets the extinction coefficient of the volume.
|
|
1813
|
-
* @param value The extinction coefficient as a Vector3
|
|
1814
|
-
*/
|
|
1815
|
-
set extinctionCoefficient(value: Vector3);
|
|
1816
|
-
/**
|
|
1817
|
-
* Gets the extinction coefficient of the volume.
|
|
1818
|
-
*/
|
|
1819
|
-
get extinctionCoefficient(): Vector3;
|
|
1820
1888
|
/**
|
|
1821
1889
|
* Sets the subsurface weight
|
|
1822
1890
|
*/
|
|
@@ -1836,18 +1904,20 @@ export class OpenPBRMaterialLoadingAdapter implements IMaterialLoadingAdapter {
|
|
|
1836
1904
|
* @param value The subsurface tint texture or null
|
|
1837
1905
|
*/
|
|
1838
1906
|
set subsurfaceColorTexture(value: Nullable<BaseTexture>);
|
|
1907
|
+
private _diffuseTransmissionTint;
|
|
1908
|
+
private _diffuseTransmissionTintTexture;
|
|
1839
1909
|
/**
|
|
1840
|
-
* Sets the
|
|
1910
|
+
* Sets the diffuse transmission tint of the material
|
|
1841
1911
|
*/
|
|
1842
|
-
set
|
|
1912
|
+
set diffuseTransmissionTint(value: Color3);
|
|
1843
1913
|
/**
|
|
1844
|
-
* Gets the
|
|
1914
|
+
* Gets the diffuse transmission tint of the material
|
|
1845
1915
|
*/
|
|
1846
|
-
get
|
|
1916
|
+
get diffuseTransmissionTint(): Color3;
|
|
1847
1917
|
/**
|
|
1848
|
-
* Sets the
|
|
1918
|
+
* Sets the diffuse transmission tint texture of the material
|
|
1849
1919
|
*/
|
|
1850
|
-
set
|
|
1920
|
+
set diffuseTransmissionTintTexture(value: Nullable<BaseTexture>);
|
|
1851
1921
|
/**
|
|
1852
1922
|
* Gets the subsurface radius for subsurface scattering.
|
|
1853
1923
|
* subsurfaceRadiusScale * subsurfaceRadius gives the mean free path per color channel.
|
|
@@ -1875,6 +1945,11 @@ export class OpenPBRMaterialLoadingAdapter implements IMaterialLoadingAdapter {
|
|
|
1875
1945
|
* @param value The anisotropy intensity value
|
|
1876
1946
|
*/
|
|
1877
1947
|
set subsurfaceScatterAnisotropy(value: number);
|
|
1948
|
+
/**
|
|
1949
|
+
* Does this material have a translucent surface (i.e. either transmission or subsurface)?
|
|
1950
|
+
* @returns True if the material is translucent, false otherwise
|
|
1951
|
+
*/
|
|
1952
|
+
isTranslucent(): boolean;
|
|
1878
1953
|
/**
|
|
1879
1954
|
* Configures fuzz for OpenPBR.
|
|
1880
1955
|
* Enables fuzz and sets up proper configuration.
|
|
@@ -2018,6 +2093,7 @@ export class OpenPBRMaterialLoadingAdapter implements IMaterialLoadingAdapter {
|
|
|
2018
2093
|
* @param value The scale value for the coat normal texture
|
|
2019
2094
|
*/
|
|
2020
2095
|
set geometryCoatNormalTextureScale(value: number);
|
|
2096
|
+
finalize(): void;
|
|
2021
2097
|
}
|
|
2022
2098
|
|
|
2023
2099
|
}
|
|
@@ -2026,7 +2102,6 @@ import { Material } from "babylonjs/Materials/material";
|
|
|
2026
2102
|
import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
|
|
2027
2103
|
import { Nullable } from "babylonjs/types";
|
|
2028
2104
|
import { Color3 } from "babylonjs/Maths/math.color";
|
|
2029
|
-
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
2030
2105
|
/**
|
|
2031
2106
|
* Interface for material loading adapters that provides a unified OpenPBR-like interface
|
|
2032
2107
|
* for both OpenPBR and PBR materials, eliminating conditional branches in extensions.
|
|
@@ -2036,6 +2111,10 @@ export interface IMaterialLoadingAdapter {
|
|
|
2036
2111
|
* Gets the underlying material
|
|
2037
2112
|
*/
|
|
2038
2113
|
readonly material: Material;
|
|
2114
|
+
/**
|
|
2115
|
+
* Finalizes material properties after loading is complete.
|
|
2116
|
+
*/
|
|
2117
|
+
finalize?(): void;
|
|
2039
2118
|
/**
|
|
2040
2119
|
* Whether the material should be treated as unlit
|
|
2041
2120
|
*/
|
|
@@ -2217,6 +2296,10 @@ export interface IMaterialLoadingAdapter {
|
|
|
2217
2296
|
* Sets the scattering coefficient
|
|
2218
2297
|
*/
|
|
2219
2298
|
transmissionScatter: Color3;
|
|
2299
|
+
/**
|
|
2300
|
+
* Sets the transmission scatter texture
|
|
2301
|
+
*/
|
|
2302
|
+
transmissionScatterTexture: Nullable<BaseTexture>;
|
|
2220
2303
|
/**
|
|
2221
2304
|
* Sets the scattering anisotropy (-1 to 1)
|
|
2222
2305
|
*/
|
|
@@ -2237,6 +2320,11 @@ export interface IMaterialLoadingAdapter {
|
|
|
2237
2320
|
* Configures transmission for thin-surface transmission (KHR_materials_transmission)
|
|
2238
2321
|
*/
|
|
2239
2322
|
configureTransmission(): void;
|
|
2323
|
+
configureVolume(): void;
|
|
2324
|
+
/**
|
|
2325
|
+
* Sets whether the material is thin-walled (i.e. non-volumetric) or not.
|
|
2326
|
+
*/
|
|
2327
|
+
geometryThinWalled: boolean;
|
|
2240
2328
|
/**
|
|
2241
2329
|
* Sets the thickness texture
|
|
2242
2330
|
*/
|
|
@@ -2249,11 +2337,6 @@ export interface IMaterialLoadingAdapter {
|
|
|
2249
2337
|
* Configures subsurface properties
|
|
2250
2338
|
*/
|
|
2251
2339
|
configureSubsurface(): void;
|
|
2252
|
-
/**
|
|
2253
|
-
* @internal
|
|
2254
|
-
* Sets/gets the extinction coefficient
|
|
2255
|
-
*/
|
|
2256
|
-
extinctionCoefficient: Vector3;
|
|
2257
2340
|
/**
|
|
2258
2341
|
* Sets/gets the subsurface weight
|
|
2259
2342
|
*/
|
|
@@ -2271,13 +2354,13 @@ export interface IMaterialLoadingAdapter {
|
|
|
2271
2354
|
*/
|
|
2272
2355
|
subsurfaceColorTexture: Nullable<BaseTexture>;
|
|
2273
2356
|
/**
|
|
2274
|
-
* Sets/gets the
|
|
2357
|
+
* Sets/gets the diffuse transmission tint of the material
|
|
2275
2358
|
*/
|
|
2276
|
-
|
|
2359
|
+
diffuseTransmissionTint: Color3;
|
|
2277
2360
|
/**
|
|
2278
|
-
* Sets/gets the
|
|
2361
|
+
* Sets/gets the diffuse transmission tint texture of the material
|
|
2279
2362
|
*/
|
|
2280
|
-
|
|
2363
|
+
diffuseTransmissionTintTexture: Nullable<BaseTexture>;
|
|
2281
2364
|
/**
|
|
2282
2365
|
* Sets/gets the subsurface radius (used for subsurface scattering)
|
|
2283
2366
|
*/
|
|
@@ -2290,6 +2373,10 @@ export interface IMaterialLoadingAdapter {
|
|
|
2290
2373
|
* Sets/gets the subsurface scattering anisotropy
|
|
2291
2374
|
*/
|
|
2292
2375
|
subsurfaceScatterAnisotropy: number;
|
|
2376
|
+
/**
|
|
2377
|
+
* Does this material have a translucent surface (i.e. either transmission or subsurface)?
|
|
2378
|
+
*/
|
|
2379
|
+
isTranslucent(): boolean;
|
|
2293
2380
|
/**
|
|
2294
2381
|
* Configures initial settings for fuzz for material.
|
|
2295
2382
|
*/
|
|
@@ -2921,8 +3008,7 @@ import { ISceneLoaderAsyncResult, ISceneLoaderProgressEvent } from "babylonjs/Lo
|
|
|
2921
3008
|
import { Scene } from "babylonjs/scene";
|
|
2922
3009
|
import { IProperty } from "babylonjs-gltf2interface";
|
|
2923
3010
|
import { IGLTF, ISampler, INode, IScene, IMesh, IAccessor, ICamera, IAnimation, IBuffer, IBufferView, IMaterial, ITextureInfo, ITexture, IImage, IMeshPrimitive, IArrayItem, IAnimationChannel } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
|
|
2924
|
-
import { IGLTFLoader, IGLTFLoaderData } from "babylonjs-loaders/glTF/glTFFileLoader";
|
|
2925
|
-
import { GLTFFileLoader } from "babylonjs-loaders/glTF/glTFFileLoader";
|
|
3011
|
+
import { IGLTFLoader, IGLTFLoaderData, GLTFFileLoader } from "babylonjs-loaders/glTF/glTFFileLoader";
|
|
2926
3012
|
import { IDataBuffer } from "babylonjs/Misc/dataReader";
|
|
2927
3013
|
import { Light } from "babylonjs/Lights/light";
|
|
2928
3014
|
import { BoundingInfo } from "babylonjs/Culling/boundingInfo";
|
|
@@ -3004,6 +3090,7 @@ export class GLTFLoader implements IGLTFLoader {
|
|
|
3004
3090
|
private _defaultBabylonMaterialData;
|
|
3005
3091
|
private readonly _postSceneLoadActions;
|
|
3006
3092
|
private readonly _materialAdapterCache;
|
|
3093
|
+
private readonly _materialAdapters;
|
|
3007
3094
|
/** @internal */
|
|
3008
3095
|
_pbrMaterialImpl: Nullable<Readonly<PBRMaterialImplementation>> | false;
|
|
3009
3096
|
/**
|
|
@@ -3361,10 +3448,8 @@ export class GLTFLoader implements IGLTFLoader {
|
|
|
3361
3448
|
declare module "babylonjs-loaders/glTF/2.0/Extensions/objectModelMapping" {
|
|
3362
3449
|
import { TransformNode } from "babylonjs/Meshes/transformNode";
|
|
3363
3450
|
import { IAnimation, ICamera, IGLTF, IKHRLightsPunctual_Light, IEXTLightsArea_Light, IMaterial, IMesh, INode } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
|
|
3364
|
-
import { Vector3 } from "babylonjs/Maths/math.vector";
|
|
3365
|
-
import {
|
|
3366
|
-
import { Color3 } from "babylonjs/Maths/math.color";
|
|
3367
|
-
import { Color4 } from "babylonjs/Maths/math.color";
|
|
3451
|
+
import { Vector3, Matrix, Quaternion, Vector2 } from "babylonjs/Maths/math.vector";
|
|
3452
|
+
import { Color3, Color4 } from "babylonjs/Maths/math.color";
|
|
3368
3453
|
import { PBRMaterial } from "babylonjs/Materials/PBR/pbrMaterial";
|
|
3369
3454
|
import { Light } from "babylonjs/Lights/light";
|
|
3370
3455
|
import { Nullable } from "babylonjs/types";
|
|
@@ -5766,8 +5851,7 @@ export * from "babylonjs-loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraph
|
|
|
5766
5851
|
|
|
5767
5852
|
}
|
|
5768
5853
|
declare module "babylonjs-loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider" {
|
|
5769
|
-
import { IFlowGraphBlockConfiguration } from "babylonjs/FlowGraph/flowGraphBlock";
|
|
5770
|
-
import { FlowGraphBlock } from "babylonjs/FlowGraph/flowGraphBlock";
|
|
5854
|
+
import { IFlowGraphBlockConfiguration, FlowGraphBlock } from "babylonjs/FlowGraph/flowGraphBlock";
|
|
5771
5855
|
import { IGLTF } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
|
|
5772
5856
|
import { FlowGraphDataConnection } from "babylonjs/FlowGraph/flowGraphDataConnection";
|
|
5773
5857
|
import { AnimationGroup } from "babylonjs/Animations/animationGroup";
|
|
@@ -6184,8 +6268,7 @@ export class GLTFMaterialsCommonExtension extends GLTFLoaderExtension {
|
|
|
6184
6268
|
|
|
6185
6269
|
}
|
|
6186
6270
|
declare module "babylonjs-loaders/glTF/1.0/glTFLoaderUtils" {
|
|
6187
|
-
import { IGLTFTechniqueParameter, IGLTFAccessor, IGLTFRuntime, IGLTFBufferView } from "babylonjs-loaders/glTF/1.0/glTFLoaderInterfaces";
|
|
6188
|
-
import { EComponentType } from "babylonjs-loaders/glTF/1.0/glTFLoaderInterfaces";
|
|
6271
|
+
import { IGLTFTechniqueParameter, IGLTFAccessor, IGLTFRuntime, IGLTFBufferView, EComponentType } from "babylonjs-loaders/glTF/1.0/glTFLoaderInterfaces";
|
|
6189
6272
|
import { Effect } from "babylonjs/Materials/effect";
|
|
6190
6273
|
import { ShaderMaterial } from "babylonjs/Materials/shaderMaterial";
|
|
6191
6274
|
import { Node } from "babylonjs/node";
|
|
@@ -7775,11 +7858,11 @@ export class BVHFileLoader implements ISceneLoaderPluginAsync, ISceneLoaderPlugi
|
|
|
7775
7858
|
}
|
|
7776
7859
|
|
|
7777
7860
|
declare module "babylonjs-loaders" {
|
|
7778
|
-
export * from "babylonjs-loaders/
|
|
7861
|
+
export * from "babylonjs-loaders/legacy/legacy";
|
|
7779
7862
|
}
|
|
7780
7863
|
|
|
7781
7864
|
|
|
7782
|
-
declare
|
|
7865
|
+
declare namespace BABYLON {
|
|
7783
7866
|
|
|
7784
7867
|
|
|
7785
7868
|
/**
|
|
@@ -7790,6 +7873,26 @@ declare module BABYLON {
|
|
|
7790
7873
|
|
|
7791
7874
|
|
|
7792
7875
|
|
|
7876
|
+
|
|
7877
|
+
|
|
7878
|
+
|
|
7879
|
+
|
|
7880
|
+
|
|
7881
|
+
|
|
7882
|
+
|
|
7883
|
+
|
|
7884
|
+
|
|
7885
|
+
|
|
7886
|
+
|
|
7887
|
+
|
|
7888
|
+
|
|
7889
|
+
|
|
7890
|
+
|
|
7891
|
+
|
|
7892
|
+
|
|
7893
|
+
|
|
7894
|
+
|
|
7895
|
+
|
|
7793
7896
|
|
|
7794
7897
|
/**
|
|
7795
7898
|
* Configuration for glTF validation
|
|
@@ -8381,13 +8484,12 @@ declare module BABYLON {
|
|
|
8381
8484
|
|
|
8382
8485
|
|
|
8383
8486
|
}
|
|
8384
|
-
declare
|
|
8487
|
+
declare namespace BABYLON.GLTF2 {
|
|
8385
8488
|
/**
|
|
8386
8489
|
* Material Loading Adapter for PBR materials that provides a unified OpenPBR-like interface.
|
|
8387
8490
|
*/
|
|
8388
8491
|
export class PBRMaterialLoadingAdapter implements BABYLON.GLTF2.IMaterialLoadingAdapter {
|
|
8389
8492
|
private _material;
|
|
8390
|
-
private _extinctionCoefficient;
|
|
8391
8493
|
/**
|
|
8392
8494
|
* Creates a new instance of the PBRMaterialLoadingAdapter.
|
|
8393
8495
|
* @param material - The PBR material to adapt.
|
|
@@ -8804,6 +8906,7 @@ declare module BABYLON.GLTF2 {
|
|
|
8804
8906
|
* @returns The scatter coefficient as a Color3
|
|
8805
8907
|
*/
|
|
8806
8908
|
get transmissionScatter(): Color3;
|
|
8909
|
+
set transmissionScatterTexture(value: Nullable<BaseTexture>);
|
|
8807
8910
|
/**
|
|
8808
8911
|
* Sets the transmission scattering anisotropy.
|
|
8809
8912
|
* @param value The anisotropy intensity value (-1 to 1)
|
|
@@ -8834,6 +8937,15 @@ declare module BABYLON.GLTF2 {
|
|
|
8834
8937
|
* Sets up the material for proper thin-surface transmission behavior.
|
|
8835
8938
|
*/
|
|
8836
8939
|
configureTransmission(): void;
|
|
8940
|
+
configureVolume(): void;
|
|
8941
|
+
/**
|
|
8942
|
+
* Sets whether the material is thin-walled (i.e. non-volumetric) or not.
|
|
8943
|
+
*/
|
|
8944
|
+
set geometryThinWalled(value: boolean);
|
|
8945
|
+
/**
|
|
8946
|
+
* Gets whether the material is thin-walled (i.e. non-volumetric) or not.
|
|
8947
|
+
*/
|
|
8948
|
+
get geometryThinWalled(): boolean;
|
|
8837
8949
|
/**
|
|
8838
8950
|
* Sets the thickness texture (mapped to PBR subSurface.thicknessTexture).
|
|
8839
8951
|
* Automatically enables refraction.
|
|
@@ -8850,15 +8962,6 @@ declare module BABYLON.GLTF2 {
|
|
|
8850
8962
|
* Configures subsurface properties for PBR material
|
|
8851
8963
|
*/
|
|
8852
8964
|
configureSubsurface(): void;
|
|
8853
|
-
/**
|
|
8854
|
-
* Sets the extinction coefficient of the volume.
|
|
8855
|
-
* @param value The extinction coefficient as a Vector3
|
|
8856
|
-
*/
|
|
8857
|
-
set extinctionCoefficient(value: Vector3);
|
|
8858
|
-
/**
|
|
8859
|
-
* Gets the extinction coefficient of the volume.
|
|
8860
|
-
*/
|
|
8861
|
-
get extinctionCoefficient(): Vector3;
|
|
8862
8965
|
/**
|
|
8863
8966
|
* Sets the subsurface weight
|
|
8864
8967
|
*/
|
|
@@ -8885,17 +8988,17 @@ declare module BABYLON.GLTF2 {
|
|
|
8885
8988
|
/**
|
|
8886
8989
|
* Sets the surface tint of the material (when using subsurface scattering)
|
|
8887
8990
|
*/
|
|
8888
|
-
set
|
|
8991
|
+
set diffuseTransmissionTint(value: Color3);
|
|
8889
8992
|
/**
|
|
8890
8993
|
* Gets the subsurface constant tint (when using subsurface scattering)
|
|
8891
8994
|
* @returns The subsurface constant tint as a Color3
|
|
8892
8995
|
*/
|
|
8893
|
-
get
|
|
8996
|
+
get diffuseTransmissionTint(): Color3;
|
|
8894
8997
|
/**
|
|
8895
8998
|
* Sets the subsurface constant tint texture (when using subsurface scattering)
|
|
8896
8999
|
* @param value The subsurface constant tint texture or null
|
|
8897
9000
|
*/
|
|
8898
|
-
set
|
|
9001
|
+
set diffuseTransmissionTintTexture(value: Nullable<BaseTexture>);
|
|
8899
9002
|
/**
|
|
8900
9003
|
* Gets the subsurface radius (used for subsurface scattering)
|
|
8901
9004
|
* subsurfaceRadiusScale * subsurfaceRadius gives the mean free path per color channel.
|
|
@@ -8926,6 +9029,11 @@ declare module BABYLON.GLTF2 {
|
|
|
8926
9029
|
* @param value The anisotropy intensity value (ignored for PBR)
|
|
8927
9030
|
*/
|
|
8928
9031
|
set subsurfaceScatterAnisotropy(value: number);
|
|
9032
|
+
/**
|
|
9033
|
+
* Does this material have a translucent surface (i.e. either transmission or subsurface)?
|
|
9034
|
+
* @returns True if the material is translucent, false otherwise
|
|
9035
|
+
*/
|
|
9036
|
+
isTranslucent(): boolean;
|
|
8929
9037
|
/**
|
|
8930
9038
|
* Configures sheen for PBR material.
|
|
8931
9039
|
* Enables sheen and sets up proper configuration.
|
|
@@ -9084,17 +9192,16 @@ declare module BABYLON.GLTF2 {
|
|
|
9084
9192
|
|
|
9085
9193
|
|
|
9086
9194
|
}
|
|
9087
|
-
declare
|
|
9195
|
+
declare namespace BABYLON {
|
|
9088
9196
|
|
|
9089
9197
|
|
|
9090
9198
|
}
|
|
9091
|
-
declare
|
|
9199
|
+
declare namespace BABYLON.GLTF2 {
|
|
9092
9200
|
/**
|
|
9093
9201
|
* Material Loading Adapter for OpenPBR materials that provides a unified OpenPBR-like interface.
|
|
9094
9202
|
*/
|
|
9095
9203
|
export class OpenPBRMaterialLoadingAdapter implements BABYLON.GLTF2.IMaterialLoadingAdapter {
|
|
9096
9204
|
private _material;
|
|
9097
|
-
private _extinctionCoefficient;
|
|
9098
9205
|
/**
|
|
9099
9206
|
* Creates a new instance of the OpenPBRMaterialLoadingAdapter.
|
|
9100
9207
|
* @param material - The OpenPBR material to adapt.
|
|
@@ -9486,7 +9593,15 @@ declare module BABYLON.GLTF2 {
|
|
|
9486
9593
|
* @returns The scatter coefficient as a Vector3
|
|
9487
9594
|
*/
|
|
9488
9595
|
get transmissionScatter(): Color3;
|
|
9596
|
+
/**
|
|
9597
|
+
* Sets the transmission scatter texture.
|
|
9598
|
+
* @param value The transmission scatter texture or null
|
|
9599
|
+
*/
|
|
9489
9600
|
set transmissionScatterTexture(value: Nullable<BaseTexture>);
|
|
9601
|
+
/**
|
|
9602
|
+
* Gets the transmission scatter texture.
|
|
9603
|
+
* @returns The transmission scatter texture or null
|
|
9604
|
+
*/
|
|
9490
9605
|
get transmissionScatterTexture(): Nullable<BaseTexture>;
|
|
9491
9606
|
/**
|
|
9492
9607
|
* Sets the transmission scattering anisotropy.
|
|
@@ -9531,6 +9646,15 @@ declare module BABYLON.GLTF2 {
|
|
|
9531
9646
|
* @param value The refraction background texture or null
|
|
9532
9647
|
*/
|
|
9533
9648
|
set refractionBackgroundTexture(value: Nullable<BaseTexture>);
|
|
9649
|
+
configureVolume(): void;
|
|
9650
|
+
/**
|
|
9651
|
+
* Sets whether the material is thin-walled (i.e. non-volumetric) or not.
|
|
9652
|
+
*/
|
|
9653
|
+
set geometryThinWalled(value: boolean);
|
|
9654
|
+
/**
|
|
9655
|
+
* Gets whether the material is thin-walled (i.e. non-volumetric) or not.
|
|
9656
|
+
*/
|
|
9657
|
+
get geometryThinWalled(): boolean;
|
|
9534
9658
|
/**
|
|
9535
9659
|
* Sets the thickness texture.
|
|
9536
9660
|
* @param value The thickness texture or null
|
|
@@ -9545,15 +9669,6 @@ declare module BABYLON.GLTF2 {
|
|
|
9545
9669
|
* Configures subsurface properties for PBR material
|
|
9546
9670
|
*/
|
|
9547
9671
|
configureSubsurface(): void;
|
|
9548
|
-
/**
|
|
9549
|
-
* Sets the extinction coefficient of the volume.
|
|
9550
|
-
* @param value The extinction coefficient as a Vector3
|
|
9551
|
-
*/
|
|
9552
|
-
set extinctionCoefficient(value: Vector3);
|
|
9553
|
-
/**
|
|
9554
|
-
* Gets the extinction coefficient of the volume.
|
|
9555
|
-
*/
|
|
9556
|
-
get extinctionCoefficient(): Vector3;
|
|
9557
9672
|
/**
|
|
9558
9673
|
* Sets the subsurface weight
|
|
9559
9674
|
*/
|
|
@@ -9573,18 +9688,20 @@ declare module BABYLON.GLTF2 {
|
|
|
9573
9688
|
* @param value The subsurface tint texture or null
|
|
9574
9689
|
*/
|
|
9575
9690
|
set subsurfaceColorTexture(value: Nullable<BaseTexture>);
|
|
9691
|
+
private _diffuseTransmissionTint;
|
|
9692
|
+
private _diffuseTransmissionTintTexture;
|
|
9576
9693
|
/**
|
|
9577
|
-
* Sets the
|
|
9694
|
+
* Sets the diffuse transmission tint of the material
|
|
9578
9695
|
*/
|
|
9579
|
-
set
|
|
9696
|
+
set diffuseTransmissionTint(value: Color3);
|
|
9580
9697
|
/**
|
|
9581
|
-
* Gets the
|
|
9698
|
+
* Gets the diffuse transmission tint of the material
|
|
9582
9699
|
*/
|
|
9583
|
-
get
|
|
9700
|
+
get diffuseTransmissionTint(): Color3;
|
|
9584
9701
|
/**
|
|
9585
|
-
* Sets the
|
|
9702
|
+
* Sets the diffuse transmission tint texture of the material
|
|
9586
9703
|
*/
|
|
9587
|
-
set
|
|
9704
|
+
set diffuseTransmissionTintTexture(value: Nullable<BaseTexture>);
|
|
9588
9705
|
/**
|
|
9589
9706
|
* Gets the subsurface radius for subsurface scattering.
|
|
9590
9707
|
* subsurfaceRadiusScale * subsurfaceRadius gives the mean free path per color channel.
|
|
@@ -9612,6 +9729,11 @@ declare module BABYLON.GLTF2 {
|
|
|
9612
9729
|
* @param value The anisotropy intensity value
|
|
9613
9730
|
*/
|
|
9614
9731
|
set subsurfaceScatterAnisotropy(value: number);
|
|
9732
|
+
/**
|
|
9733
|
+
* Does this material have a translucent surface (i.e. either transmission or subsurface)?
|
|
9734
|
+
* @returns True if the material is translucent, false otherwise
|
|
9735
|
+
*/
|
|
9736
|
+
isTranslucent(): boolean;
|
|
9615
9737
|
/**
|
|
9616
9738
|
* Configures fuzz for OpenPBR.
|
|
9617
9739
|
* Enables fuzz and sets up proper configuration.
|
|
@@ -9755,16 +9877,17 @@ declare module BABYLON.GLTF2 {
|
|
|
9755
9877
|
* @param value The scale value for the coat normal texture
|
|
9756
9878
|
*/
|
|
9757
9879
|
set geometryCoatNormalTextureScale(value: number);
|
|
9880
|
+
finalize(): void;
|
|
9758
9881
|
}
|
|
9759
9882
|
|
|
9760
9883
|
|
|
9761
9884
|
|
|
9762
9885
|
}
|
|
9763
|
-
declare
|
|
9886
|
+
declare namespace BABYLON {
|
|
9764
9887
|
|
|
9765
9888
|
|
|
9766
9889
|
}
|
|
9767
|
-
declare
|
|
9890
|
+
declare namespace BABYLON.GLTF2 {
|
|
9768
9891
|
/**
|
|
9769
9892
|
* Interface for material loading adapters that provides a unified OpenPBR-like interface
|
|
9770
9893
|
* for both OpenPBR and PBR materials, eliminating conditional branches in extensions.
|
|
@@ -9774,6 +9897,10 @@ declare module BABYLON.GLTF2 {
|
|
|
9774
9897
|
* Gets the underlying material
|
|
9775
9898
|
*/
|
|
9776
9899
|
readonly material: Material;
|
|
9900
|
+
/**
|
|
9901
|
+
* Finalizes material properties after loading is complete.
|
|
9902
|
+
*/
|
|
9903
|
+
finalize?(): void;
|
|
9777
9904
|
/**
|
|
9778
9905
|
* Whether the material should be treated as unlit
|
|
9779
9906
|
*/
|
|
@@ -9955,6 +10082,10 @@ declare module BABYLON.GLTF2 {
|
|
|
9955
10082
|
* Sets the scattering coefficient
|
|
9956
10083
|
*/
|
|
9957
10084
|
transmissionScatter: Color3;
|
|
10085
|
+
/**
|
|
10086
|
+
* Sets the transmission scatter texture
|
|
10087
|
+
*/
|
|
10088
|
+
transmissionScatterTexture: Nullable<BaseTexture>;
|
|
9958
10089
|
/**
|
|
9959
10090
|
* Sets the scattering anisotropy (-1 to 1)
|
|
9960
10091
|
*/
|
|
@@ -9975,6 +10106,11 @@ declare module BABYLON.GLTF2 {
|
|
|
9975
10106
|
* Configures transmission for thin-surface transmission (KHR_materials_transmission)
|
|
9976
10107
|
*/
|
|
9977
10108
|
configureTransmission(): void;
|
|
10109
|
+
configureVolume(): void;
|
|
10110
|
+
/**
|
|
10111
|
+
* Sets whether the material is thin-walled (i.e. non-volumetric) or not.
|
|
10112
|
+
*/
|
|
10113
|
+
geometryThinWalled: boolean;
|
|
9978
10114
|
/**
|
|
9979
10115
|
* Sets the thickness texture
|
|
9980
10116
|
*/
|
|
@@ -9987,11 +10123,6 @@ declare module BABYLON.GLTF2 {
|
|
|
9987
10123
|
* Configures subsurface properties
|
|
9988
10124
|
*/
|
|
9989
10125
|
configureSubsurface(): void;
|
|
9990
|
-
/**
|
|
9991
|
-
* @internal
|
|
9992
|
-
* Sets/gets the extinction coefficient
|
|
9993
|
-
*/
|
|
9994
|
-
extinctionCoefficient: Vector3;
|
|
9995
10126
|
/**
|
|
9996
10127
|
* Sets/gets the subsurface weight
|
|
9997
10128
|
*/
|
|
@@ -10009,13 +10140,13 @@ declare module BABYLON.GLTF2 {
|
|
|
10009
10140
|
*/
|
|
10010
10141
|
subsurfaceColorTexture: Nullable<BaseTexture>;
|
|
10011
10142
|
/**
|
|
10012
|
-
* Sets/gets the
|
|
10143
|
+
* Sets/gets the diffuse transmission tint of the material
|
|
10013
10144
|
*/
|
|
10014
|
-
|
|
10145
|
+
diffuseTransmissionTint: Color3;
|
|
10015
10146
|
/**
|
|
10016
|
-
* Sets/gets the
|
|
10147
|
+
* Sets/gets the diffuse transmission tint texture of the material
|
|
10017
10148
|
*/
|
|
10018
|
-
|
|
10149
|
+
diffuseTransmissionTintTexture: Nullable<BaseTexture>;
|
|
10019
10150
|
/**
|
|
10020
10151
|
* Sets/gets the subsurface radius (used for subsurface scattering)
|
|
10021
10152
|
*/
|
|
@@ -10028,6 +10159,10 @@ declare module BABYLON.GLTF2 {
|
|
|
10028
10159
|
* Sets/gets the subsurface scattering anisotropy
|
|
10029
10160
|
*/
|
|
10030
10161
|
subsurfaceScatterAnisotropy: number;
|
|
10162
|
+
/**
|
|
10163
|
+
* Does this material have a translucent surface (i.e. either transmission or subsurface)?
|
|
10164
|
+
*/
|
|
10165
|
+
isTranslucent(): boolean;
|
|
10031
10166
|
/**
|
|
10032
10167
|
* Configures initial settings for fuzz for material.
|
|
10033
10168
|
*/
|
|
@@ -10128,20 +10263,20 @@ declare module BABYLON.GLTF2 {
|
|
|
10128
10263
|
|
|
10129
10264
|
|
|
10130
10265
|
}
|
|
10131
|
-
declare
|
|
10266
|
+
declare namespace BABYLON {
|
|
10132
10267
|
|
|
10133
10268
|
|
|
10134
10269
|
}
|
|
10135
|
-
declare
|
|
10270
|
+
declare namespace BABYLON.GLTF2 {
|
|
10136
10271
|
|
|
10137
10272
|
|
|
10138
10273
|
|
|
10139
10274
|
}
|
|
10140
|
-
declare
|
|
10275
|
+
declare namespace BABYLON {
|
|
10141
10276
|
|
|
10142
10277
|
|
|
10143
10278
|
}
|
|
10144
|
-
declare
|
|
10279
|
+
declare namespace BABYLON.GLTF2.Loader {
|
|
10145
10280
|
/**
|
|
10146
10281
|
* Loader interface with an index field.
|
|
10147
10282
|
*/
|
|
@@ -10398,11 +10533,11 @@ declare module BABYLON.GLTF2.Loader {
|
|
|
10398
10533
|
|
|
10399
10534
|
|
|
10400
10535
|
}
|
|
10401
|
-
declare
|
|
10536
|
+
declare namespace BABYLON {
|
|
10402
10537
|
|
|
10403
10538
|
|
|
10404
10539
|
}
|
|
10405
|
-
declare
|
|
10540
|
+
declare namespace BABYLON.GLTF2 {
|
|
10406
10541
|
interface IRegisteredGLTFExtension {
|
|
10407
10542
|
isGLTFExtension: boolean;
|
|
10408
10543
|
factory: GLTFExtensionFactory;
|
|
@@ -10429,11 +10564,11 @@ declare module BABYLON.GLTF2 {
|
|
|
10429
10564
|
|
|
10430
10565
|
|
|
10431
10566
|
}
|
|
10432
|
-
declare
|
|
10567
|
+
declare namespace BABYLON {
|
|
10433
10568
|
|
|
10434
10569
|
|
|
10435
10570
|
}
|
|
10436
|
-
declare
|
|
10571
|
+
declare namespace BABYLON.GLTF2 {
|
|
10437
10572
|
/**
|
|
10438
10573
|
* Interface for a glTF loader extension.
|
|
10439
10574
|
*/
|
|
@@ -10588,11 +10723,11 @@ declare module BABYLON.GLTF2 {
|
|
|
10588
10723
|
|
|
10589
10724
|
|
|
10590
10725
|
}
|
|
10591
|
-
declare
|
|
10726
|
+
declare namespace BABYLON {
|
|
10592
10727
|
|
|
10593
10728
|
|
|
10594
10729
|
}
|
|
10595
|
-
declare
|
|
10730
|
+
declare namespace BABYLON.GLTF2 {
|
|
10596
10731
|
/** @internal */
|
|
10597
10732
|
export type GetValueFn = (target: any, source: Float32Array, offset: number, scale: number) => any;
|
|
10598
10733
|
/** @internal */
|
|
@@ -10635,11 +10770,11 @@ declare module BABYLON.GLTF2 {
|
|
|
10635
10770
|
|
|
10636
10771
|
|
|
10637
10772
|
}
|
|
10638
|
-
declare
|
|
10773
|
+
declare namespace BABYLON {
|
|
10639
10774
|
|
|
10640
10775
|
|
|
10641
10776
|
}
|
|
10642
|
-
declare
|
|
10777
|
+
declare namespace BABYLON.GLTF2 {
|
|
10643
10778
|
interface IWithMetadata {
|
|
10644
10779
|
metadata: any;
|
|
10645
10780
|
_internalMetadata: any;
|
|
@@ -10711,6 +10846,7 @@ declare module BABYLON.GLTF2 {
|
|
|
10711
10846
|
private _defaultBabylonMaterialData;
|
|
10712
10847
|
private readonly _postSceneLoadActions;
|
|
10713
10848
|
private readonly _materialAdapterCache;
|
|
10849
|
+
private readonly _materialAdapters;
|
|
10714
10850
|
/** @internal */
|
|
10715
10851
|
_pbrMaterialImpl: Nullable<Readonly<PBRMaterialImplementation>> | false;
|
|
10716
10852
|
/**
|
|
@@ -11067,11 +11203,11 @@ declare module BABYLON.GLTF2 {
|
|
|
11067
11203
|
|
|
11068
11204
|
|
|
11069
11205
|
}
|
|
11070
|
-
declare
|
|
11206
|
+
declare namespace BABYLON {
|
|
11071
11207
|
|
|
11072
11208
|
|
|
11073
11209
|
}
|
|
11074
|
-
declare
|
|
11210
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11075
11211
|
export interface IGLTFObjectModelTree {
|
|
11076
11212
|
cameras: IGLTFObjectModelTreeCamerasObject;
|
|
11077
11213
|
nodes: IGLTFObjectModelTreeNodesObject;
|
|
@@ -11366,20 +11502,20 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11366
11502
|
|
|
11367
11503
|
|
|
11368
11504
|
}
|
|
11369
|
-
declare
|
|
11505
|
+
declare namespace BABYLON {
|
|
11370
11506
|
|
|
11371
11507
|
|
|
11372
11508
|
}
|
|
11373
|
-
declare
|
|
11509
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11374
11510
|
|
|
11375
11511
|
|
|
11376
11512
|
|
|
11377
11513
|
}
|
|
11378
|
-
declare
|
|
11514
|
+
declare namespace BABYLON {
|
|
11379
11515
|
|
|
11380
11516
|
|
|
11381
11517
|
}
|
|
11382
|
-
declare
|
|
11518
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11383
11519
|
/**
|
|
11384
11520
|
* Adding an exception here will break traversing through the glTF object tree.
|
|
11385
11521
|
* This is used for properties that might not be in the glTF object model, but are optional and have a default value.
|
|
@@ -11426,11 +11562,11 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11426
11562
|
|
|
11427
11563
|
|
|
11428
11564
|
}
|
|
11429
|
-
declare
|
|
11565
|
+
declare namespace BABYLON {
|
|
11430
11566
|
|
|
11431
11567
|
|
|
11432
11568
|
}
|
|
11433
|
-
declare
|
|
11569
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11434
11570
|
/**
|
|
11435
11571
|
* 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).
|
|
11436
11572
|
*/
|
|
@@ -11439,11 +11575,11 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11439
11575
|
|
|
11440
11576
|
|
|
11441
11577
|
}
|
|
11442
|
-
declare
|
|
11578
|
+
declare namespace BABYLON {
|
|
11443
11579
|
|
|
11444
11580
|
|
|
11445
11581
|
}
|
|
11446
|
-
declare
|
|
11582
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11447
11583
|
/** @internal */
|
|
11448
11584
|
export class MSFT_sRGBFactors implements BABYLON.GLTF2.IGLTFLoaderExtension {
|
|
11449
11585
|
/** @internal */
|
|
@@ -11462,7 +11598,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11462
11598
|
|
|
11463
11599
|
|
|
11464
11600
|
}
|
|
11465
|
-
declare
|
|
11601
|
+
declare namespace BABYLON {
|
|
11466
11602
|
interface GLTFLoaderExtensionOptions {
|
|
11467
11603
|
/**
|
|
11468
11604
|
* Defines options for the MSFT_sRGBFactors extension.
|
|
@@ -11471,7 +11607,7 @@ declare module BABYLON {
|
|
|
11471
11607
|
}
|
|
11472
11608
|
|
|
11473
11609
|
}
|
|
11474
|
-
declare
|
|
11610
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11475
11611
|
/** @internal */
|
|
11476
11612
|
export class MSFT_minecraftMesh implements BABYLON.GLTF2.IGLTFLoaderExtension {
|
|
11477
11613
|
/** @internal */
|
|
@@ -11490,7 +11626,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11490
11626
|
|
|
11491
11627
|
|
|
11492
11628
|
}
|
|
11493
|
-
declare
|
|
11629
|
+
declare namespace BABYLON {
|
|
11494
11630
|
interface GLTFLoaderExtensionOptions {
|
|
11495
11631
|
/**
|
|
11496
11632
|
* Defines options for the MSFT_minecraftMesh extension.
|
|
@@ -11499,7 +11635,7 @@ declare module BABYLON {
|
|
|
11499
11635
|
}
|
|
11500
11636
|
|
|
11501
11637
|
}
|
|
11502
|
-
declare
|
|
11638
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11503
11639
|
/**
|
|
11504
11640
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/MSFT_lod/README.md)
|
|
11505
11641
|
*/
|
|
@@ -11586,7 +11722,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11586
11722
|
|
|
11587
11723
|
|
|
11588
11724
|
}
|
|
11589
|
-
declare
|
|
11725
|
+
declare namespace BABYLON {
|
|
11590
11726
|
interface GLTFLoaderExtensionOptions {
|
|
11591
11727
|
/**
|
|
11592
11728
|
* Defines options for the MSFT_lod extension.
|
|
@@ -11600,7 +11736,7 @@ declare module BABYLON {
|
|
|
11600
11736
|
}
|
|
11601
11737
|
|
|
11602
11738
|
}
|
|
11603
|
-
declare
|
|
11739
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11604
11740
|
/**
|
|
11605
11741
|
* [Specification](https://github.com/najadojo/glTF/blob/MSFT_audio_emitter/extensions/2.0/Vendor/MSFT_audio_emitter/README.md)
|
|
11606
11742
|
* !!! Experimental Extension Subject to Changes !!!
|
|
@@ -11646,7 +11782,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11646
11782
|
|
|
11647
11783
|
|
|
11648
11784
|
}
|
|
11649
|
-
declare
|
|
11785
|
+
declare namespace BABYLON {
|
|
11650
11786
|
interface GLTFLoaderExtensionOptions {
|
|
11651
11787
|
/**
|
|
11652
11788
|
* Defines options for the MSFT_audio_emitter extension.
|
|
@@ -11655,7 +11791,7 @@ declare module BABYLON {
|
|
|
11655
11791
|
}
|
|
11656
11792
|
|
|
11657
11793
|
}
|
|
11658
|
-
declare
|
|
11794
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11659
11795
|
/**
|
|
11660
11796
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_xmp_json_ld/README.md)
|
|
11661
11797
|
* @since 5.0.0
|
|
@@ -11689,7 +11825,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11689
11825
|
|
|
11690
11826
|
|
|
11691
11827
|
}
|
|
11692
|
-
declare
|
|
11828
|
+
declare namespace BABYLON {
|
|
11693
11829
|
interface GLTFLoaderExtensionOptions {
|
|
11694
11830
|
/**
|
|
11695
11831
|
* Defines options for the KHR_xmp_json_ld extension.
|
|
@@ -11698,7 +11834,7 @@ declare module BABYLON {
|
|
|
11698
11834
|
}
|
|
11699
11835
|
|
|
11700
11836
|
}
|
|
11701
|
-
declare
|
|
11837
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11702
11838
|
/**
|
|
11703
11839
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_texture_transform/README.md)
|
|
11704
11840
|
*/
|
|
@@ -11727,7 +11863,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11727
11863
|
|
|
11728
11864
|
|
|
11729
11865
|
}
|
|
11730
|
-
declare
|
|
11866
|
+
declare namespace BABYLON {
|
|
11731
11867
|
interface GLTFLoaderExtensionOptions {
|
|
11732
11868
|
/**
|
|
11733
11869
|
* Defines options for the KHR_texture_transform extension.
|
|
@@ -11736,7 +11872,7 @@ declare module BABYLON {
|
|
|
11736
11872
|
}
|
|
11737
11873
|
|
|
11738
11874
|
}
|
|
11739
|
-
declare
|
|
11875
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11740
11876
|
/**
|
|
11741
11877
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_texture_basisu/README.md)
|
|
11742
11878
|
*/
|
|
@@ -11761,7 +11897,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11761
11897
|
|
|
11762
11898
|
|
|
11763
11899
|
}
|
|
11764
|
-
declare
|
|
11900
|
+
declare namespace BABYLON {
|
|
11765
11901
|
interface GLTFLoaderExtensionOptions {
|
|
11766
11902
|
/**
|
|
11767
11903
|
* Defines options for the KHR_texture_basisu extension.
|
|
@@ -11770,7 +11906,7 @@ declare module BABYLON {
|
|
|
11770
11906
|
}
|
|
11771
11907
|
|
|
11772
11908
|
}
|
|
11773
|
-
declare
|
|
11909
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11774
11910
|
/**
|
|
11775
11911
|
* Loader extension for KHR_node_visibility
|
|
11776
11912
|
*/
|
|
@@ -11795,7 +11931,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11795
11931
|
|
|
11796
11932
|
|
|
11797
11933
|
}
|
|
11798
|
-
declare
|
|
11934
|
+
declare namespace BABYLON {
|
|
11799
11935
|
interface GLTFLoaderExtensionOptions {
|
|
11800
11936
|
/**
|
|
11801
11937
|
* Defines options for the KHR_node_visibility extension.
|
|
@@ -11804,7 +11940,7 @@ declare module BABYLON {
|
|
|
11804
11940
|
}
|
|
11805
11941
|
|
|
11806
11942
|
}
|
|
11807
|
-
declare
|
|
11943
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11808
11944
|
/**
|
|
11809
11945
|
* Loader extension for KHR_selectability
|
|
11810
11946
|
*/
|
|
@@ -11829,7 +11965,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11829
11965
|
|
|
11830
11966
|
|
|
11831
11967
|
}
|
|
11832
|
-
declare
|
|
11968
|
+
declare namespace BABYLON {
|
|
11833
11969
|
interface GLTFLoaderExtensionOptions {
|
|
11834
11970
|
/**
|
|
11835
11971
|
* Defines options for the KHR_selectability extension.
|
|
@@ -11838,7 +11974,7 @@ declare module BABYLON {
|
|
|
11838
11974
|
}
|
|
11839
11975
|
|
|
11840
11976
|
}
|
|
11841
|
-
declare
|
|
11977
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11842
11978
|
/**
|
|
11843
11979
|
* Loader extension for KHR_node_hoverability
|
|
11844
11980
|
* @see https://github.com/KhronosGroup/glTF/pull/2426
|
|
@@ -11864,7 +12000,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11864
12000
|
|
|
11865
12001
|
|
|
11866
12002
|
}
|
|
11867
|
-
declare
|
|
12003
|
+
declare namespace BABYLON {
|
|
11868
12004
|
interface GLTFLoaderExtensionOptions {
|
|
11869
12005
|
/**
|
|
11870
12006
|
* Defines options for the KHR_node_hoverability extension.
|
|
@@ -11873,7 +12009,7 @@ declare module BABYLON {
|
|
|
11873
12009
|
}
|
|
11874
12010
|
|
|
11875
12011
|
}
|
|
11876
|
-
declare
|
|
12012
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11877
12013
|
/**
|
|
11878
12014
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_mesh_quantization/README.md)
|
|
11879
12015
|
*/
|
|
@@ -11897,7 +12033,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11897
12033
|
|
|
11898
12034
|
|
|
11899
12035
|
}
|
|
11900
|
-
declare
|
|
12036
|
+
declare namespace BABYLON {
|
|
11901
12037
|
interface GLTFLoaderExtensionOptions {
|
|
11902
12038
|
/**
|
|
11903
12039
|
* Defines options for the KHR_mesh_quantization extension.
|
|
@@ -11906,7 +12042,7 @@ declare module BABYLON {
|
|
|
11906
12042
|
}
|
|
11907
12043
|
|
|
11908
12044
|
}
|
|
11909
|
-
declare
|
|
12045
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11910
12046
|
/**
|
|
11911
12047
|
* TODO: In-progress specification
|
|
11912
12048
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/7ea427ed55d44427e83c0a6d1c87068b1a4151c5/extensions/2.0/Khronos/KHR_materials_volume_scatter/README.md)
|
|
@@ -11943,7 +12079,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11943
12079
|
|
|
11944
12080
|
|
|
11945
12081
|
}
|
|
11946
|
-
declare
|
|
12082
|
+
declare namespace BABYLON {
|
|
11947
12083
|
interface GLTFLoaderExtensionOptions {
|
|
11948
12084
|
/**
|
|
11949
12085
|
* Defines options for the KHR_materials_volume_scatter extension.
|
|
@@ -11952,7 +12088,7 @@ declare module BABYLON {
|
|
|
11952
12088
|
}
|
|
11953
12089
|
|
|
11954
12090
|
}
|
|
11955
|
-
declare
|
|
12091
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
11956
12092
|
/**
|
|
11957
12093
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_volume/README.md)
|
|
11958
12094
|
* @since 5.0.0
|
|
@@ -11987,7 +12123,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
11987
12123
|
|
|
11988
12124
|
|
|
11989
12125
|
}
|
|
11990
|
-
declare
|
|
12126
|
+
declare namespace BABYLON {
|
|
11991
12127
|
interface GLTFLoaderExtensionOptions {
|
|
11992
12128
|
/**
|
|
11993
12129
|
* Defines options for the KHR_materials_volume extension.
|
|
@@ -11996,7 +12132,7 @@ declare module BABYLON {
|
|
|
11996
12132
|
}
|
|
11997
12133
|
|
|
11998
12134
|
}
|
|
11999
|
-
declare
|
|
12135
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12000
12136
|
/**
|
|
12001
12137
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_variants/README.md)
|
|
12002
12138
|
*/
|
|
@@ -12077,7 +12213,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12077
12213
|
|
|
12078
12214
|
|
|
12079
12215
|
}
|
|
12080
|
-
declare
|
|
12216
|
+
declare namespace BABYLON {
|
|
12081
12217
|
type MaterialVariantsController = {
|
|
12082
12218
|
/**
|
|
12083
12219
|
* The list of available variant names for this asset.
|
|
@@ -12106,7 +12242,7 @@ declare module BABYLON {
|
|
|
12106
12242
|
}
|
|
12107
12243
|
|
|
12108
12244
|
}
|
|
12109
|
-
declare
|
|
12245
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12110
12246
|
/**
|
|
12111
12247
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_unlit/README.md)
|
|
12112
12248
|
*/
|
|
@@ -12140,7 +12276,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12140
12276
|
|
|
12141
12277
|
|
|
12142
12278
|
}
|
|
12143
|
-
declare
|
|
12279
|
+
declare namespace BABYLON {
|
|
12144
12280
|
interface GLTFLoaderExtensionOptions {
|
|
12145
12281
|
/**
|
|
12146
12282
|
* Defines options for the KHR_materials_unlit extension.
|
|
@@ -12149,7 +12285,7 @@ declare module BABYLON {
|
|
|
12149
12285
|
}
|
|
12150
12286
|
|
|
12151
12287
|
}
|
|
12152
|
-
declare
|
|
12288
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12153
12289
|
/**
|
|
12154
12290
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_transmission/README.md)
|
|
12155
12291
|
*/
|
|
@@ -12183,7 +12319,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12183
12319
|
|
|
12184
12320
|
|
|
12185
12321
|
}
|
|
12186
|
-
declare
|
|
12322
|
+
declare namespace BABYLON {
|
|
12187
12323
|
interface GLTFLoaderExtensionOptions {
|
|
12188
12324
|
/**
|
|
12189
12325
|
* Defines options for the KHR_materials_transmission extension.
|
|
@@ -12192,7 +12328,7 @@ declare module BABYLON {
|
|
|
12192
12328
|
}
|
|
12193
12329
|
|
|
12194
12330
|
}
|
|
12195
|
-
declare
|
|
12331
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12196
12332
|
/**
|
|
12197
12333
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_specular/README.md)
|
|
12198
12334
|
*/
|
|
@@ -12226,7 +12362,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12226
12362
|
|
|
12227
12363
|
|
|
12228
12364
|
}
|
|
12229
|
-
declare
|
|
12365
|
+
declare namespace BABYLON {
|
|
12230
12366
|
interface GLTFLoaderExtensionOptions {
|
|
12231
12367
|
/**
|
|
12232
12368
|
* Defines options for the KHR_materials_specular extension.
|
|
@@ -12235,7 +12371,7 @@ declare module BABYLON {
|
|
|
12235
12371
|
}
|
|
12236
12372
|
|
|
12237
12373
|
}
|
|
12238
|
-
declare
|
|
12374
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12239
12375
|
/**
|
|
12240
12376
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_sheen/README.md)
|
|
12241
12377
|
* [Playground Sample](https://www.babylonjs-playground.com/frame.html#BNIZX6#4)
|
|
@@ -12270,7 +12406,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12270
12406
|
|
|
12271
12407
|
|
|
12272
12408
|
}
|
|
12273
|
-
declare
|
|
12409
|
+
declare namespace BABYLON {
|
|
12274
12410
|
interface GLTFLoaderExtensionOptions {
|
|
12275
12411
|
/**
|
|
12276
12412
|
* Defines options for the KHR_materials_sheen extension.
|
|
@@ -12279,7 +12415,7 @@ declare module BABYLON {
|
|
|
12279
12415
|
}
|
|
12280
12416
|
|
|
12281
12417
|
}
|
|
12282
|
-
declare
|
|
12418
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12283
12419
|
/**
|
|
12284
12420
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Archived/KHR_materials_pbrSpecularGlossiness/README.md)
|
|
12285
12421
|
*/
|
|
@@ -12313,7 +12449,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12313
12449
|
|
|
12314
12450
|
|
|
12315
12451
|
}
|
|
12316
|
-
declare
|
|
12452
|
+
declare namespace BABYLON {
|
|
12317
12453
|
interface GLTFLoaderExtensionOptions {
|
|
12318
12454
|
/**
|
|
12319
12455
|
* Defines options for the KHR_materials_pbrSpecularGlossiness extension.
|
|
@@ -12322,7 +12458,7 @@ declare module BABYLON {
|
|
|
12322
12458
|
}
|
|
12323
12459
|
|
|
12324
12460
|
}
|
|
12325
|
-
declare
|
|
12461
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12326
12462
|
/**
|
|
12327
12463
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_iridescence/README.md)
|
|
12328
12464
|
*/
|
|
@@ -12356,7 +12492,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12356
12492
|
|
|
12357
12493
|
|
|
12358
12494
|
}
|
|
12359
|
-
declare
|
|
12495
|
+
declare namespace BABYLON {
|
|
12360
12496
|
interface GLTFLoaderExtensionOptions {
|
|
12361
12497
|
/**
|
|
12362
12498
|
* Defines options for the KHR_materials_iridescence extension.
|
|
@@ -12365,7 +12501,7 @@ declare module BABYLON {
|
|
|
12365
12501
|
}
|
|
12366
12502
|
|
|
12367
12503
|
}
|
|
12368
|
-
declare
|
|
12504
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12369
12505
|
/**
|
|
12370
12506
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_ior/README.md)
|
|
12371
12507
|
*/
|
|
@@ -12403,7 +12539,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12403
12539
|
|
|
12404
12540
|
|
|
12405
12541
|
}
|
|
12406
|
-
declare
|
|
12542
|
+
declare namespace BABYLON {
|
|
12407
12543
|
interface GLTFLoaderExtensionOptions {
|
|
12408
12544
|
/**
|
|
12409
12545
|
* Defines options for the KHR_materials_ior extension.
|
|
@@ -12412,7 +12548,7 @@ declare module BABYLON {
|
|
|
12412
12548
|
}
|
|
12413
12549
|
|
|
12414
12550
|
}
|
|
12415
|
-
declare
|
|
12551
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12416
12552
|
/**
|
|
12417
12553
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/9734e44accd0dfb986ec5f376117aa00192745fe/extensions/2.0/Khronos/KHR_materials_fuzz/README.md)
|
|
12418
12554
|
* @experimental
|
|
@@ -12447,7 +12583,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12447
12583
|
|
|
12448
12584
|
|
|
12449
12585
|
}
|
|
12450
|
-
declare
|
|
12586
|
+
declare namespace BABYLON {
|
|
12451
12587
|
interface GLTFLoaderExtensionOptions {
|
|
12452
12588
|
/**
|
|
12453
12589
|
* Defines options for the KHR_materials_fuzz extension.
|
|
@@ -12456,7 +12592,7 @@ declare module BABYLON {
|
|
|
12456
12592
|
}
|
|
12457
12593
|
|
|
12458
12594
|
}
|
|
12459
|
-
declare
|
|
12595
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12460
12596
|
/**
|
|
12461
12597
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_emissive_strength/README.md)
|
|
12462
12598
|
*/
|
|
@@ -12490,7 +12626,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12490
12626
|
|
|
12491
12627
|
|
|
12492
12628
|
}
|
|
12493
|
-
declare
|
|
12629
|
+
declare namespace BABYLON {
|
|
12494
12630
|
interface GLTFLoaderExtensionOptions {
|
|
12495
12631
|
/**
|
|
12496
12632
|
* Defines options for the KHR_materials_emissive_strength extension.
|
|
@@ -12499,7 +12635,7 @@ declare module BABYLON {
|
|
|
12499
12635
|
}
|
|
12500
12636
|
|
|
12501
12637
|
}
|
|
12502
|
-
declare
|
|
12638
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12503
12639
|
/**
|
|
12504
12640
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/87bd64a7f5e23c84b6aef2e6082069583ed0ddb4/extensions/2.0/Khronos/KHR_materials_dispersion/README.md)
|
|
12505
12641
|
* @experimental
|
|
@@ -12534,7 +12670,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12534
12670
|
|
|
12535
12671
|
|
|
12536
12672
|
}
|
|
12537
|
-
declare
|
|
12673
|
+
declare namespace BABYLON {
|
|
12538
12674
|
interface GLTFLoaderExtensionOptions {
|
|
12539
12675
|
/**
|
|
12540
12676
|
* Defines options for the KHR_materials_dispersion extension.
|
|
@@ -12543,7 +12679,7 @@ declare module BABYLON {
|
|
|
12543
12679
|
}
|
|
12544
12680
|
|
|
12545
12681
|
}
|
|
12546
|
-
declare
|
|
12682
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12547
12683
|
/**
|
|
12548
12684
|
* [Proposed Specification](https://github.com/KhronosGroup/glTF/pull/1825)
|
|
12549
12685
|
* !!! Experimental Extension Subject to Changes !!!
|
|
@@ -12578,7 +12714,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12578
12714
|
|
|
12579
12715
|
|
|
12580
12716
|
}
|
|
12581
|
-
declare
|
|
12717
|
+
declare namespace BABYLON {
|
|
12582
12718
|
interface GLTFLoaderExtensionOptions {
|
|
12583
12719
|
/**
|
|
12584
12720
|
* Defines options for the KHR_materials_diffuse_transmission extension.
|
|
@@ -12587,7 +12723,7 @@ declare module BABYLON {
|
|
|
12587
12723
|
}
|
|
12588
12724
|
|
|
12589
12725
|
}
|
|
12590
|
-
declare
|
|
12726
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12591
12727
|
/**
|
|
12592
12728
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/b102d2d2b40d44a8776800bb2bf85e218853c17d/extensions/2.0/Khronos/KHR_materials_diffuse_roughness/README.md)
|
|
12593
12729
|
* @experimental
|
|
@@ -12622,7 +12758,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12622
12758
|
|
|
12623
12759
|
|
|
12624
12760
|
}
|
|
12625
|
-
declare
|
|
12761
|
+
declare namespace BABYLON {
|
|
12626
12762
|
interface GLTFLoaderExtensionOptions {
|
|
12627
12763
|
/**
|
|
12628
12764
|
* Defines options for the KHR_materials_diffuse_roughness extension.
|
|
@@ -12631,7 +12767,7 @@ declare module BABYLON {
|
|
|
12631
12767
|
}
|
|
12632
12768
|
|
|
12633
12769
|
}
|
|
12634
|
-
declare
|
|
12770
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12635
12771
|
/**
|
|
12636
12772
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/6cb2cb84b504c245c49cf2e9a8ae16d26f72ac97/extensions/2.0/Khronos/KHR_materials_coat/README.md)
|
|
12637
12773
|
* @experimental
|
|
@@ -12672,7 +12808,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12672
12808
|
|
|
12673
12809
|
|
|
12674
12810
|
}
|
|
12675
|
-
declare
|
|
12811
|
+
declare namespace BABYLON {
|
|
12676
12812
|
interface GLTFLoaderExtensionOptions {
|
|
12677
12813
|
/**
|
|
12678
12814
|
* Defines options for the KHR_materials_coat extension.
|
|
@@ -12681,7 +12817,7 @@ declare module BABYLON {
|
|
|
12681
12817
|
}
|
|
12682
12818
|
|
|
12683
12819
|
}
|
|
12684
|
-
declare
|
|
12820
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12685
12821
|
/**
|
|
12686
12822
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_clearcoat/README.md)
|
|
12687
12823
|
* [Playground Sample](https://www.babylonjs-playground.com/frame.html#7F7PN6#8)
|
|
@@ -12716,7 +12852,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12716
12852
|
|
|
12717
12853
|
|
|
12718
12854
|
}
|
|
12719
|
-
declare
|
|
12855
|
+
declare namespace BABYLON {
|
|
12720
12856
|
interface GLTFLoaderExtensionOptions {
|
|
12721
12857
|
/**
|
|
12722
12858
|
* Defines options for the KHR_materials_clearcoat extension.
|
|
@@ -12725,7 +12861,7 @@ declare module BABYLON {
|
|
|
12725
12861
|
}
|
|
12726
12862
|
|
|
12727
12863
|
}
|
|
12728
|
-
declare
|
|
12864
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12729
12865
|
/**
|
|
12730
12866
|
* [Specification](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_anisotropy)
|
|
12731
12867
|
*/
|
|
@@ -12759,7 +12895,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12759
12895
|
|
|
12760
12896
|
|
|
12761
12897
|
}
|
|
12762
|
-
declare
|
|
12898
|
+
declare namespace BABYLON {
|
|
12763
12899
|
interface GLTFLoaderExtensionOptions {
|
|
12764
12900
|
/**
|
|
12765
12901
|
* Defines options for the KHR_materials_anisotropy extension.
|
|
@@ -12768,7 +12904,7 @@ declare module BABYLON {
|
|
|
12768
12904
|
}
|
|
12769
12905
|
|
|
12770
12906
|
}
|
|
12771
|
-
declare
|
|
12907
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12772
12908
|
/**
|
|
12773
12909
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_lights_punctual/README.md)
|
|
12774
12910
|
*/
|
|
@@ -12801,7 +12937,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12801
12937
|
|
|
12802
12938
|
|
|
12803
12939
|
}
|
|
12804
|
-
declare
|
|
12940
|
+
declare namespace BABYLON {
|
|
12805
12941
|
interface GLTFLoaderExtensionOptions {
|
|
12806
12942
|
/**
|
|
12807
12943
|
* Defines options for the KHR_lights_punctual extension.
|
|
@@ -12810,7 +12946,7 @@ declare module BABYLON {
|
|
|
12810
12946
|
}
|
|
12811
12947
|
|
|
12812
12948
|
}
|
|
12813
|
-
declare
|
|
12949
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12814
12950
|
/**
|
|
12815
12951
|
* Loader extension for KHR_interactivity
|
|
12816
12952
|
*/
|
|
@@ -12842,7 +12978,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12842
12978
|
|
|
12843
12979
|
|
|
12844
12980
|
}
|
|
12845
|
-
declare
|
|
12981
|
+
declare namespace BABYLON {
|
|
12846
12982
|
interface GLTFLoaderExtensionOptions {
|
|
12847
12983
|
/**
|
|
12848
12984
|
* Defines options for the KHR_interactivity extension.
|
|
@@ -12851,7 +12987,7 @@ declare module BABYLON {
|
|
|
12851
12987
|
}
|
|
12852
12988
|
|
|
12853
12989
|
}
|
|
12854
|
-
declare
|
|
12990
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12855
12991
|
/**
|
|
12856
12992
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_draco_mesh_compression/README.md)
|
|
12857
12993
|
*/
|
|
@@ -12888,7 +13024,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12888
13024
|
|
|
12889
13025
|
|
|
12890
13026
|
}
|
|
12891
|
-
declare
|
|
13027
|
+
declare namespace BABYLON {
|
|
12892
13028
|
interface GLTFLoaderExtensionOptions {
|
|
12893
13029
|
/**
|
|
12894
13030
|
* Defines options for the KHR_draco_mesh_compression extension.
|
|
@@ -12897,16 +13033,16 @@ declare module BABYLON {
|
|
|
12897
13033
|
}
|
|
12898
13034
|
|
|
12899
13035
|
}
|
|
12900
|
-
declare
|
|
13036
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12901
13037
|
|
|
12902
13038
|
|
|
12903
13039
|
|
|
12904
13040
|
}
|
|
12905
|
-
declare
|
|
13041
|
+
declare namespace BABYLON {
|
|
12906
13042
|
|
|
12907
13043
|
|
|
12908
13044
|
}
|
|
12909
|
-
declare
|
|
13045
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12910
13046
|
/**
|
|
12911
13047
|
* [Specification PR](https://github.com/KhronosGroup/glTF/pull/2147)
|
|
12912
13048
|
* !!! Experimental Extension Subject to Changes !!!
|
|
@@ -12943,7 +13079,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12943
13079
|
|
|
12944
13080
|
|
|
12945
13081
|
}
|
|
12946
|
-
declare
|
|
13082
|
+
declare namespace BABYLON {
|
|
12947
13083
|
interface GLTFLoaderExtensionOptions {
|
|
12948
13084
|
/**
|
|
12949
13085
|
* Defines options for the KHR_animation_pointer extension.
|
|
@@ -12952,7 +13088,7 @@ declare module BABYLON {
|
|
|
12952
13088
|
}
|
|
12953
13089
|
|
|
12954
13090
|
}
|
|
12955
|
-
declare
|
|
13091
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
12956
13092
|
/**
|
|
12957
13093
|
* Store glTF extras (if present) in BJS objects' metadata
|
|
12958
13094
|
*/
|
|
@@ -12994,7 +13130,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
12994
13130
|
|
|
12995
13131
|
|
|
12996
13132
|
}
|
|
12997
|
-
declare
|
|
13133
|
+
declare namespace BABYLON {
|
|
12998
13134
|
interface GLTFLoaderExtensionOptions {
|
|
12999
13135
|
/**
|
|
13000
13136
|
* Defines options for the ExtrasAsMetadata extension.
|
|
@@ -13003,7 +13139,7 @@ declare module BABYLON {
|
|
|
13003
13139
|
}
|
|
13004
13140
|
|
|
13005
13141
|
}
|
|
13006
|
-
declare
|
|
13142
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
13007
13143
|
/**
|
|
13008
13144
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_texture_webp/README.md)
|
|
13009
13145
|
*/
|
|
@@ -13028,7 +13164,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
13028
13164
|
|
|
13029
13165
|
|
|
13030
13166
|
}
|
|
13031
|
-
declare
|
|
13167
|
+
declare namespace BABYLON {
|
|
13032
13168
|
interface GLTFLoaderExtensionOptions {
|
|
13033
13169
|
/**
|
|
13034
13170
|
* Defines options for the EXT_texture_webp extension.
|
|
@@ -13037,7 +13173,7 @@ declare module BABYLON {
|
|
|
13037
13173
|
}
|
|
13038
13174
|
|
|
13039
13175
|
}
|
|
13040
|
-
declare
|
|
13176
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
13041
13177
|
/**
|
|
13042
13178
|
* [glTF PR](https://github.com/KhronosGroup/glTF/pull/2235)
|
|
13043
13179
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_texture_avif/README.md)
|
|
@@ -13063,7 +13199,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
13063
13199
|
|
|
13064
13200
|
|
|
13065
13201
|
}
|
|
13066
|
-
declare
|
|
13202
|
+
declare namespace BABYLON {
|
|
13067
13203
|
interface GLTFLoaderExtensionOptions {
|
|
13068
13204
|
/**
|
|
13069
13205
|
* Defines options for the EXT_texture_avif extension.
|
|
@@ -13072,7 +13208,7 @@ declare module BABYLON {
|
|
|
13072
13208
|
}
|
|
13073
13209
|
|
|
13074
13210
|
}
|
|
13075
|
-
declare
|
|
13211
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
13076
13212
|
/**
|
|
13077
13213
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_meshopt_compression/README.md)
|
|
13078
13214
|
*
|
|
@@ -13104,7 +13240,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
13104
13240
|
|
|
13105
13241
|
|
|
13106
13242
|
}
|
|
13107
|
-
declare
|
|
13243
|
+
declare namespace BABYLON {
|
|
13108
13244
|
interface GLTFLoaderExtensionOptions {
|
|
13109
13245
|
/**
|
|
13110
13246
|
* Defines options for the EXT_meshopt_compression extension.
|
|
@@ -13113,7 +13249,7 @@ declare module BABYLON {
|
|
|
13113
13249
|
}
|
|
13114
13250
|
|
|
13115
13251
|
}
|
|
13116
|
-
declare
|
|
13252
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
13117
13253
|
/**
|
|
13118
13254
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_mesh_gpu_instancing/README.md)
|
|
13119
13255
|
* [Playground Sample](https://playground.babylonjs.com/#QFIGLW#9)
|
|
@@ -13143,7 +13279,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
13143
13279
|
|
|
13144
13280
|
|
|
13145
13281
|
}
|
|
13146
|
-
declare
|
|
13282
|
+
declare namespace BABYLON {
|
|
13147
13283
|
interface GLTFLoaderExtensionOptions {
|
|
13148
13284
|
/**
|
|
13149
13285
|
* Defines options for the EXT_mesh_gpu_instancing extension.
|
|
@@ -13152,7 +13288,7 @@ declare module BABYLON {
|
|
|
13152
13288
|
}
|
|
13153
13289
|
|
|
13154
13290
|
}
|
|
13155
|
-
declare
|
|
13291
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
13156
13292
|
/** @internal */
|
|
13157
13293
|
interface IEXTLightsImageBased_LightImageBased {
|
|
13158
13294
|
_babylonTexture?: BaseTexture;
|
|
@@ -13190,7 +13326,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
13190
13326
|
|
|
13191
13327
|
|
|
13192
13328
|
}
|
|
13193
|
-
declare
|
|
13329
|
+
declare namespace BABYLON {
|
|
13194
13330
|
interface GLTFLoaderExtensionOptions {
|
|
13195
13331
|
/**
|
|
13196
13332
|
* Defines options for the EXT_lights_image_based extension.
|
|
@@ -13199,7 +13335,7 @@ declare module BABYLON {
|
|
|
13199
13335
|
}
|
|
13200
13336
|
|
|
13201
13337
|
}
|
|
13202
|
-
declare
|
|
13338
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
13203
13339
|
/**
|
|
13204
13340
|
* [Specification](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Vendor/EXT_lights_ies)
|
|
13205
13341
|
*/
|
|
@@ -13232,7 +13368,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
13232
13368
|
|
|
13233
13369
|
|
|
13234
13370
|
}
|
|
13235
|
-
declare
|
|
13371
|
+
declare namespace BABYLON {
|
|
13236
13372
|
interface GLTFLoaderExtensionOptions {
|
|
13237
13373
|
/**
|
|
13238
13374
|
* Defines options for the EXT_lights_ies extension.
|
|
@@ -13241,7 +13377,7 @@ declare module BABYLON {
|
|
|
13241
13377
|
}
|
|
13242
13378
|
|
|
13243
13379
|
}
|
|
13244
|
-
declare
|
|
13380
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
13245
13381
|
/**
|
|
13246
13382
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_lights_area/README.md)
|
|
13247
13383
|
*/
|
|
@@ -13274,7 +13410,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
13274
13410
|
|
|
13275
13411
|
|
|
13276
13412
|
}
|
|
13277
|
-
declare
|
|
13413
|
+
declare namespace BABYLON {
|
|
13278
13414
|
interface GLTFLoaderExtensionOptions {
|
|
13279
13415
|
/**
|
|
13280
13416
|
* Defines options for the EXT_lights_area extension.
|
|
@@ -13283,7 +13419,7 @@ declare module BABYLON {
|
|
|
13283
13419
|
}
|
|
13284
13420
|
|
|
13285
13421
|
}
|
|
13286
|
-
declare
|
|
13422
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
13287
13423
|
export interface InteractivityEvent {
|
|
13288
13424
|
eventId: string;
|
|
13289
13425
|
eventData?: {
|
|
@@ -13353,20 +13489,20 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
13353
13489
|
|
|
13354
13490
|
|
|
13355
13491
|
}
|
|
13356
|
-
declare
|
|
13492
|
+
declare namespace BABYLON {
|
|
13357
13493
|
|
|
13358
13494
|
|
|
13359
13495
|
}
|
|
13360
|
-
declare
|
|
13496
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
13361
13497
|
|
|
13362
13498
|
|
|
13363
13499
|
|
|
13364
13500
|
}
|
|
13365
|
-
declare
|
|
13501
|
+
declare namespace BABYLON {
|
|
13366
13502
|
|
|
13367
13503
|
|
|
13368
13504
|
}
|
|
13369
|
-
declare
|
|
13505
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
13370
13506
|
/**
|
|
13371
13507
|
* a configuration interface for this block
|
|
13372
13508
|
*/
|
|
@@ -13398,11 +13534,11 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
13398
13534
|
|
|
13399
13535
|
|
|
13400
13536
|
}
|
|
13401
|
-
declare
|
|
13537
|
+
declare namespace BABYLON {
|
|
13402
13538
|
|
|
13403
13539
|
|
|
13404
13540
|
}
|
|
13405
|
-
declare
|
|
13541
|
+
declare namespace BABYLON.GLTF2.Loader.Extensions {
|
|
13406
13542
|
interface IGLTFToFlowGraphMappingObject {
|
|
13407
13543
|
/**
|
|
13408
13544
|
* The name of the property in the FlowGraph block.
|
|
@@ -13749,20 +13885,20 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
13749
13885
|
|
|
13750
13886
|
|
|
13751
13887
|
}
|
|
13752
|
-
declare
|
|
13888
|
+
declare namespace BABYLON {
|
|
13753
13889
|
|
|
13754
13890
|
|
|
13755
13891
|
}
|
|
13756
|
-
declare
|
|
13892
|
+
declare namespace BABYLON.GLTF1 {
|
|
13757
13893
|
|
|
13758
13894
|
|
|
13759
13895
|
|
|
13760
13896
|
}
|
|
13761
|
-
declare
|
|
13897
|
+
declare namespace BABYLON {
|
|
13762
13898
|
|
|
13763
13899
|
|
|
13764
13900
|
}
|
|
13765
|
-
declare
|
|
13901
|
+
declare namespace BABYLON.GLTF1 {
|
|
13766
13902
|
/**
|
|
13767
13903
|
* @internal
|
|
13768
13904
|
* @deprecated
|
|
@@ -13777,11 +13913,11 @@ declare module BABYLON.GLTF1 {
|
|
|
13777
13913
|
|
|
13778
13914
|
|
|
13779
13915
|
}
|
|
13780
|
-
declare
|
|
13916
|
+
declare namespace BABYLON {
|
|
13781
13917
|
|
|
13782
13918
|
|
|
13783
13919
|
}
|
|
13784
|
-
declare
|
|
13920
|
+
declare namespace BABYLON.GLTF1 {
|
|
13785
13921
|
/**
|
|
13786
13922
|
* Utils functions for GLTF
|
|
13787
13923
|
* @internal
|
|
@@ -13851,11 +13987,11 @@ declare module BABYLON.GLTF1 {
|
|
|
13851
13987
|
|
|
13852
13988
|
|
|
13853
13989
|
}
|
|
13854
|
-
declare
|
|
13990
|
+
declare namespace BABYLON {
|
|
13855
13991
|
|
|
13856
13992
|
|
|
13857
13993
|
}
|
|
13858
|
-
declare
|
|
13994
|
+
declare namespace BABYLON.GLTF1 {
|
|
13859
13995
|
/**
|
|
13860
13996
|
* Enums
|
|
13861
13997
|
* @internal
|
|
@@ -14265,11 +14401,11 @@ declare module BABYLON.GLTF1 {
|
|
|
14265
14401
|
|
|
14266
14402
|
|
|
14267
14403
|
}
|
|
14268
|
-
declare
|
|
14404
|
+
declare namespace BABYLON {
|
|
14269
14405
|
|
|
14270
14406
|
|
|
14271
14407
|
}
|
|
14272
|
-
declare
|
|
14408
|
+
declare namespace BABYLON.GLTF1 {
|
|
14273
14409
|
/**
|
|
14274
14410
|
* Implementation of the base glTF spec
|
|
14275
14411
|
* @internal
|
|
@@ -14410,11 +14546,11 @@ declare module BABYLON.GLTF1 {
|
|
|
14410
14546
|
|
|
14411
14547
|
|
|
14412
14548
|
}
|
|
14413
|
-
declare
|
|
14549
|
+
declare namespace BABYLON {
|
|
14414
14550
|
|
|
14415
14551
|
|
|
14416
14552
|
}
|
|
14417
|
-
declare
|
|
14553
|
+
declare namespace BABYLON.GLTF1 {
|
|
14418
14554
|
/**
|
|
14419
14555
|
* @internal
|
|
14420
14556
|
* @deprecated
|
|
@@ -14431,7 +14567,7 @@ declare module BABYLON.GLTF1 {
|
|
|
14431
14567
|
|
|
14432
14568
|
|
|
14433
14569
|
}
|
|
14434
|
-
declare
|
|
14570
|
+
declare namespace BABYLON {
|
|
14435
14571
|
|
|
14436
14572
|
export var STLFileLoaderMetadata: {
|
|
14437
14573
|
readonly name: "stl";
|