babylonjs-loaders 7.2.2 → 7.3.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.glTF2FileLoader.js +129 -103
- package/babylon.glTF2FileLoader.min.js +1 -1
- package/babylon.glTF2FileLoader.min.js.map +1 -1
- package/babylon.glTFFileLoader.js +129 -103
- package/babylon.glTFFileLoader.min.js +1 -1
- package/babylon.glTFFileLoader.min.js.map +1 -1
- package/babylonjs.loaders.d.ts +60 -38
- package/babylonjs.loaders.js +129 -103
- package/babylonjs.loaders.min.js +1 -1
- package/babylonjs.loaders.min.js.map +1 -1
- package/babylonjs.loaders.module.d.ts +121 -77
- package/package.json +3 -3
package/babylonjs.loaders.d.ts
CHANGED
|
@@ -1243,6 +1243,28 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
1243
1243
|
};
|
|
1244
1244
|
};
|
|
1245
1245
|
};
|
|
1246
|
+
KHR_materials_diffuse_transmission: {
|
|
1247
|
+
diffuseTransmissionFactor: MaterialAnimationPropertyInfo[];
|
|
1248
|
+
diffuseTransmissionTexture: {
|
|
1249
|
+
extensions: {
|
|
1250
|
+
KHR_texture_transform: {
|
|
1251
|
+
scale: MaterialAnimationPropertyInfo[];
|
|
1252
|
+
offset: MaterialAnimationPropertyInfo[];
|
|
1253
|
+
rotation: MaterialAnimationPropertyInfo[];
|
|
1254
|
+
};
|
|
1255
|
+
};
|
|
1256
|
+
};
|
|
1257
|
+
diffuseTransmissionColorFactor: MaterialAnimationPropertyInfo[];
|
|
1258
|
+
diffuseTransmissionColorTexture: {
|
|
1259
|
+
extensions: {
|
|
1260
|
+
KHR_texture_transform: {
|
|
1261
|
+
scale: MaterialAnimationPropertyInfo[];
|
|
1262
|
+
offset: MaterialAnimationPropertyInfo[];
|
|
1263
|
+
rotation: MaterialAnimationPropertyInfo[];
|
|
1264
|
+
};
|
|
1265
|
+
};
|
|
1266
|
+
};
|
|
1267
|
+
};
|
|
1246
1268
|
};
|
|
1247
1269
|
};
|
|
1248
1270
|
};
|
|
@@ -1463,6 +1485,44 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
1463
1485
|
|
|
1464
1486
|
|
|
1465
1487
|
|
|
1488
|
+
}
|
|
1489
|
+
declare module BABYLON {
|
|
1490
|
+
|
|
1491
|
+
}
|
|
1492
|
+
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
1493
|
+
/**
|
|
1494
|
+
* [Proposed Specification](https://github.com/KhronosGroup/glTF/pull/1825)
|
|
1495
|
+
* !!! Experimental Extension Subject to Changes !!!
|
|
1496
|
+
*/
|
|
1497
|
+
export class KHR_materials_diffuse_transmission implements BABYLON.GLTF2.IGLTFLoaderExtension {
|
|
1498
|
+
/**
|
|
1499
|
+
* The name of this extension.
|
|
1500
|
+
*/
|
|
1501
|
+
readonly name = "KHR_materials_diffuse_transmission";
|
|
1502
|
+
/**
|
|
1503
|
+
* Defines whether this extension is enabled.
|
|
1504
|
+
*/
|
|
1505
|
+
enabled: boolean;
|
|
1506
|
+
/**
|
|
1507
|
+
* Defines a number that determines the order the extensions are applied.
|
|
1508
|
+
*/
|
|
1509
|
+
order: number;
|
|
1510
|
+
private _loader;
|
|
1511
|
+
/**
|
|
1512
|
+
* @internal
|
|
1513
|
+
*/
|
|
1514
|
+
constructor(loader: BABYLON.GLTF2.GLTFLoader);
|
|
1515
|
+
/** @internal */
|
|
1516
|
+
dispose(): void;
|
|
1517
|
+
/**
|
|
1518
|
+
* @internal
|
|
1519
|
+
*/
|
|
1520
|
+
loadMaterialPropertiesAsync(context: string, material: BABYLON.GLTF2.Loader.IMaterial, babylonMaterial: Material): Nullable<Promise<void>>;
|
|
1521
|
+
private _loadTranslucentPropertiesAsync;
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
|
|
1525
|
+
|
|
1466
1526
|
}
|
|
1467
1527
|
declare module BABYLON {
|
|
1468
1528
|
|
|
@@ -1728,44 +1788,6 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
1728
1788
|
|
|
1729
1789
|
|
|
1730
1790
|
|
|
1731
|
-
}
|
|
1732
|
-
declare module BABYLON {
|
|
1733
|
-
|
|
1734
|
-
}
|
|
1735
|
-
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
1736
|
-
/**
|
|
1737
|
-
* [Proposed Specification](https://github.com/KhronosGroup/glTF/pull/1825)
|
|
1738
|
-
* !!! Experimental Extension Subject to Changes !!!
|
|
1739
|
-
*/
|
|
1740
|
-
export class KHR_materials_translucency implements BABYLON.GLTF2.IGLTFLoaderExtension {
|
|
1741
|
-
/**
|
|
1742
|
-
* The name of this extension.
|
|
1743
|
-
*/
|
|
1744
|
-
readonly name = "KHR_materials_translucency";
|
|
1745
|
-
/**
|
|
1746
|
-
* Defines whether this extension is enabled.
|
|
1747
|
-
*/
|
|
1748
|
-
enabled: boolean;
|
|
1749
|
-
/**
|
|
1750
|
-
* Defines a number that determines the order the extensions are applied.
|
|
1751
|
-
*/
|
|
1752
|
-
order: number;
|
|
1753
|
-
private _loader;
|
|
1754
|
-
/**
|
|
1755
|
-
* @internal
|
|
1756
|
-
*/
|
|
1757
|
-
constructor(loader: BABYLON.GLTF2.GLTFLoader);
|
|
1758
|
-
/** @internal */
|
|
1759
|
-
dispose(): void;
|
|
1760
|
-
/**
|
|
1761
|
-
* @internal
|
|
1762
|
-
*/
|
|
1763
|
-
loadMaterialPropertiesAsync(context: string, material: BABYLON.GLTF2.Loader.IMaterial, babylonMaterial: Material): Nullable<Promise<void>>;
|
|
1764
|
-
private _loadTranslucentPropertiesAsync;
|
|
1765
|
-
}
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
1791
|
}
|
|
1770
1792
|
declare module BABYLON {
|
|
1771
1793
|
|