babylonjs-gltf2interface 5.1.0 → 5.2.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.
@@ -1037,6 +1037,16 @@ declare module BABYLON.GLTF2 {
1037
1037
  clearcoatNormalTexture?: IMaterialNormalTextureInfo;
1038
1038
  }
1039
1039
 
1040
+ /** @hidden */
1041
+ interface IKHRMaterialsIridescence extends IMaterialExtension {
1042
+ iridescenceFactor?: number;
1043
+ iridescenceIOR?: number;
1044
+ iridescenceThicknessMinimum?: number;
1045
+ iridescenceThicknessMaximum?: number;
1046
+ iridescenceTexture?: ITextureInfo;
1047
+ iridescenceThicknessTexture?: ITextureInfo;
1048
+ }
1049
+
1040
1050
  /**
1041
1051
  * Interfaces from the KHR_materials_ior extension
1042
1052
  * !!! Experimental Extension Subject to Changes !!!
@@ -1090,10 +1100,10 @@ declare module BABYLON.GLTF2 {
1090
1100
 
1091
1101
  /** @hidden */
1092
1102
  interface IKHRMaterialsSpecular extends IMaterialExtension {
1093
- specularFactor: number;
1094
- specularColorFactor: number[];
1095
- specularTexture: ITextureInfo;
1096
- specularColorTexture: ITextureInfo;
1103
+ specularFactor?: number;
1104
+ specularColorFactor?: number[];
1105
+ specularTexture?: ITextureInfo;
1106
+ specularColorTexture?: ITextureInfo;
1097
1107
  }
1098
1108
 
1099
1109
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "babylonjs-gltf2interface",
3
3
  "description": "A typescript declaration of babylon's gltf2 interface.",
4
- "version": "5.1.0",
4
+ "version": "5.2.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/BabylonJS/Babylon.js.git"