babylonjs-loaders 7.2.3 → 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.
@@ -945,7 +945,7 @@ export * from "babylonjs-loaders/glTF/2.0/Extensions/KHR_materials_specular";
945
945
  export * from "babylonjs-loaders/glTF/2.0/Extensions/KHR_materials_ior";
946
946
  export * from "babylonjs-loaders/glTF/2.0/Extensions/KHR_materials_variants";
947
947
  export * from "babylonjs-loaders/glTF/2.0/Extensions/KHR_materials_transmission";
948
- export * from "babylonjs-loaders/glTF/2.0/Extensions/KHR_materials_translucency";
948
+ export * from "babylonjs-loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission";
949
949
  export * from "babylonjs-loaders/glTF/2.0/Extensions/KHR_materials_volume";
950
950
  export * from "babylonjs-loaders/glTF/2.0/Extensions/KHR_materials_dispersion";
951
951
  export * from "babylonjs-loaders/glTF/2.0/Extensions/KHR_mesh_quantization";
@@ -1266,6 +1266,28 @@ export const animationPointerTree: {
1266
1266
  };
1267
1267
  };
1268
1268
  };
1269
+ KHR_materials_diffuse_transmission: {
1270
+ diffuseTransmissionFactor: MaterialAnimationPropertyInfo[];
1271
+ diffuseTransmissionTexture: {
1272
+ extensions: {
1273
+ KHR_texture_transform: {
1274
+ scale: MaterialAnimationPropertyInfo[];
1275
+ offset: MaterialAnimationPropertyInfo[];
1276
+ rotation: MaterialAnimationPropertyInfo[];
1277
+ };
1278
+ };
1279
+ };
1280
+ diffuseTransmissionColorFactor: MaterialAnimationPropertyInfo[];
1281
+ diffuseTransmissionColorTexture: {
1282
+ extensions: {
1283
+ KHR_texture_transform: {
1284
+ scale: MaterialAnimationPropertyInfo[];
1285
+ offset: MaterialAnimationPropertyInfo[];
1286
+ rotation: MaterialAnimationPropertyInfo[];
1287
+ };
1288
+ };
1289
+ };
1290
+ };
1269
1291
  };
1270
1292
  };
1271
1293
  };
@@ -1484,6 +1506,44 @@ export class KHR_materials_clearcoat implements IGLTFLoaderExtension {
1484
1506
  private _loadClearCoatPropertiesAsync;
1485
1507
  }
1486
1508
 
1509
+ }
1510
+ declare module "babylonjs-loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission" {
1511
+ import { Nullable } from "babylonjs/types";
1512
+ import { Material } from "babylonjs/Materials/material";
1513
+ import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
1514
+ import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
1515
+ import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
1516
+ /**
1517
+ * [Proposed Specification](https://github.com/KhronosGroup/glTF/pull/1825)
1518
+ * !!! Experimental Extension Subject to Changes !!!
1519
+ */
1520
+ export class KHR_materials_diffuse_transmission implements IGLTFLoaderExtension {
1521
+ /**
1522
+ * The name of this extension.
1523
+ */
1524
+ readonly name: string;
1525
+ /**
1526
+ * Defines whether this extension is enabled.
1527
+ */
1528
+ enabled: boolean;
1529
+ /**
1530
+ * Defines a number that determines the order the extensions are applied.
1531
+ */
1532
+ order: number;
1533
+ private _loader;
1534
+ /**
1535
+ * @internal
1536
+ */
1537
+ constructor(loader: GLTFLoader);
1538
+ /** @internal */
1539
+ dispose(): void;
1540
+ /**
1541
+ * @internal
1542
+ */
1543
+ loadMaterialPropertiesAsync(context: string, material: IMaterial, babylonMaterial: Material): Nullable<Promise<void>>;
1544
+ private _loadTranslucentPropertiesAsync;
1545
+ }
1546
+
1487
1547
  }
1488
1548
  declare module "babylonjs-loaders/glTF/2.0/Extensions/KHR_materials_dispersion" {
1489
1549
  import { Nullable } from "babylonjs/types";
@@ -1749,44 +1809,6 @@ export class KHR_materials_specular implements IGLTFLoaderExtension {
1749
1809
  private _loadSpecularPropertiesAsync;
1750
1810
  }
1751
1811
 
1752
- }
1753
- declare module "babylonjs-loaders/glTF/2.0/Extensions/KHR_materials_translucency" {
1754
- import { Nullable } from "babylonjs/types";
1755
- import { Material } from "babylonjs/Materials/material";
1756
- import { IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
1757
- import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
1758
- import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
1759
- /**
1760
- * [Proposed Specification](https://github.com/KhronosGroup/glTF/pull/1825)
1761
- * !!! Experimental Extension Subject to Changes !!!
1762
- */
1763
- export class KHR_materials_translucency implements IGLTFLoaderExtension {
1764
- /**
1765
- * The name of this extension.
1766
- */
1767
- readonly name: string;
1768
- /**
1769
- * Defines whether this extension is enabled.
1770
- */
1771
- enabled: boolean;
1772
- /**
1773
- * Defines a number that determines the order the extensions are applied.
1774
- */
1775
- order: number;
1776
- private _loader;
1777
- /**
1778
- * @internal
1779
- */
1780
- constructor(loader: GLTFLoader);
1781
- /** @internal */
1782
- dispose(): void;
1783
- /**
1784
- * @internal
1785
- */
1786
- loadMaterialPropertiesAsync(context: string, material: IMaterial, babylonMaterial: Material): Nullable<Promise<void>>;
1787
- private _loadTranslucentPropertiesAsync;
1788
- }
1789
-
1790
1812
  }
1791
1813
  declare module "babylonjs-loaders/glTF/2.0/Extensions/KHR_materials_transmission" {
1792
1814
  import { Nullable } from "babylonjs/types";
@@ -5488,6 +5510,28 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5488
5510
  };
5489
5511
  };
5490
5512
  };
5513
+ KHR_materials_diffuse_transmission: {
5514
+ diffuseTransmissionFactor: MaterialAnimationPropertyInfo[];
5515
+ diffuseTransmissionTexture: {
5516
+ extensions: {
5517
+ KHR_texture_transform: {
5518
+ scale: MaterialAnimationPropertyInfo[];
5519
+ offset: MaterialAnimationPropertyInfo[];
5520
+ rotation: MaterialAnimationPropertyInfo[];
5521
+ };
5522
+ };
5523
+ };
5524
+ diffuseTransmissionColorFactor: MaterialAnimationPropertyInfo[];
5525
+ diffuseTransmissionColorTexture: {
5526
+ extensions: {
5527
+ KHR_texture_transform: {
5528
+ scale: MaterialAnimationPropertyInfo[];
5529
+ offset: MaterialAnimationPropertyInfo[];
5530
+ rotation: MaterialAnimationPropertyInfo[];
5531
+ };
5532
+ };
5533
+ };
5534
+ };
5491
5535
  };
5492
5536
  };
5493
5537
  };
@@ -5708,6 +5752,44 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5708
5752
 
5709
5753
 
5710
5754
 
5755
+ }
5756
+ declare module BABYLON {
5757
+
5758
+ }
5759
+ declare module BABYLON.GLTF2.Loader.Extensions {
5760
+ /**
5761
+ * [Proposed Specification](https://github.com/KhronosGroup/glTF/pull/1825)
5762
+ * !!! Experimental Extension Subject to Changes !!!
5763
+ */
5764
+ export class KHR_materials_diffuse_transmission implements BABYLON.GLTF2.IGLTFLoaderExtension {
5765
+ /**
5766
+ * The name of this extension.
5767
+ */
5768
+ readonly name = "KHR_materials_diffuse_transmission";
5769
+ /**
5770
+ * Defines whether this extension is enabled.
5771
+ */
5772
+ enabled: boolean;
5773
+ /**
5774
+ * Defines a number that determines the order the extensions are applied.
5775
+ */
5776
+ order: number;
5777
+ private _loader;
5778
+ /**
5779
+ * @internal
5780
+ */
5781
+ constructor(loader: BABYLON.GLTF2.GLTFLoader);
5782
+ /** @internal */
5783
+ dispose(): void;
5784
+ /**
5785
+ * @internal
5786
+ */
5787
+ loadMaterialPropertiesAsync(context: string, material: BABYLON.GLTF2.Loader.IMaterial, babylonMaterial: Material): Nullable<Promise<void>>;
5788
+ private _loadTranslucentPropertiesAsync;
5789
+ }
5790
+
5791
+
5792
+
5711
5793
  }
5712
5794
  declare module BABYLON {
5713
5795
 
@@ -5973,44 +6055,6 @@ declare module BABYLON.GLTF2.Loader.Extensions {
5973
6055
 
5974
6056
 
5975
6057
 
5976
- }
5977
- declare module BABYLON {
5978
-
5979
- }
5980
- declare module BABYLON.GLTF2.Loader.Extensions {
5981
- /**
5982
- * [Proposed Specification](https://github.com/KhronosGroup/glTF/pull/1825)
5983
- * !!! Experimental Extension Subject to Changes !!!
5984
- */
5985
- export class KHR_materials_translucency implements BABYLON.GLTF2.IGLTFLoaderExtension {
5986
- /**
5987
- * The name of this extension.
5988
- */
5989
- readonly name = "KHR_materials_translucency";
5990
- /**
5991
- * Defines whether this extension is enabled.
5992
- */
5993
- enabled: boolean;
5994
- /**
5995
- * Defines a number that determines the order the extensions are applied.
5996
- */
5997
- order: number;
5998
- private _loader;
5999
- /**
6000
- * @internal
6001
- */
6002
- constructor(loader: BABYLON.GLTF2.GLTFLoader);
6003
- /** @internal */
6004
- dispose(): void;
6005
- /**
6006
- * @internal
6007
- */
6008
- loadMaterialPropertiesAsync(context: string, material: BABYLON.GLTF2.Loader.IMaterial, babylonMaterial: Material): Nullable<Promise<void>>;
6009
- private _loadTranslucentPropertiesAsync;
6010
- }
6011
-
6012
-
6013
-
6014
6058
  }
6015
6059
  declare module BABYLON {
6016
6060
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-loaders",
3
- "version": "7.2.3",
3
+ "version": "7.3.0",
4
4
  "main": "babylonjs.loaders.js",
5
5
  "types": "babylonjs.loaders.module.d.ts",
6
6
  "files": [
@@ -15,8 +15,8 @@
15
15
  "test:escheck": "es-check es6 ./babylonjs.loaders.js"
16
16
  },
17
17
  "dependencies": {
18
- "babylonjs": "^7.2.3",
19
- "babylonjs-gltf2interface": "^7.2.3"
18
+ "babylonjs": "^7.3.0",
19
+ "babylonjs-gltf2interface": "^7.3.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@dev/build-tools": "1.0.0",