babylonjs-gltf2interface 8.33.4 → 8.34.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.
@@ -1080,21 +1080,29 @@ declare module BABYLON.GLTF2 {
1080
1080
  };
1081
1081
  }
1082
1082
 
1083
+ /**
1084
+ * Interfaces from the KHR_materials_clearcoat extension
1085
+ */
1083
1086
  /** @internal */
1084
- interface IKHRMaterialsClearcoatIor {
1085
- clearcoatIor?: number;
1086
- }
1087
-
1088
- /** @internal */
1089
- interface IKHRMaterialsClearcoatDarkening {
1090
- clearcoatDarkeningFactor?: number;
1091
- clearcoatDarkeningTexture?: ITextureInfo;
1092
- }
1093
-
1094
- /** @internal */
1095
- interface IKHRMaterialsClearcoatColor {
1096
- clearcoatColorFactor?: number[];
1097
- clearcoatColorTexture?: ITextureInfo;
1087
+ interface IKHRMaterialsCoat {
1088
+ coatFactor?: number;
1089
+ coatTexture?: ITextureInfo;
1090
+ coatRoughnessFactor?: number;
1091
+ coatRoughnessTexture?: ITextureInfo;
1092
+ coatNormalTexture?: IMaterialNormalTextureInfo;
1093
+ coatIor?: number;
1094
+ coatDarkeningFactor?: number;
1095
+ coatColorFactor?: number[];
1096
+ coatColorTexture?: ITextureInfo;
1097
+ coatAnisotropyStrength?: number;
1098
+ coatAnisotropyRotation?: number;
1099
+ coatAnisotropyTexture?: ITextureInfo;
1100
+ /**
1101
+ * Dictionary object with extension-specific objects
1102
+ */
1103
+ extensions?: {
1104
+ [key: string]: any;
1105
+ };
1098
1106
  }
1099
1107
 
1100
1108
  /** @internal */
@@ -1233,6 +1241,20 @@ declare module BABYLON.GLTF2 {
1233
1241
  sheenRoughnessTexture?: ITextureInfo;
1234
1242
  }
1235
1243
 
1244
+ /**
1245
+ * Interfaces from the KHR_materials_fuzz extension
1246
+ */
1247
+
1248
+ /** @internal */
1249
+ interface IKHRMaterialsFuzz {
1250
+ fuzzFactor?: number;
1251
+ fuzzTexture?: ITextureInfo;
1252
+ fuzzColorFactor?: number[];
1253
+ fuzzColorTexture?: ITextureInfo;
1254
+ fuzzRoughnessFactor?: number;
1255
+ fuzzRoughnessTexture?: ITextureInfo;
1256
+ }
1257
+
1236
1258
  /**
1237
1259
  * Interfaces from the KHR_materials_diffuse_transmission extension
1238
1260
  * !!! Experimental Extension Subject to Changes !!!
@@ -1434,9 +1456,9 @@ declare module BABYLON.GLTF2 {
1434
1456
  */
1435
1457
 
1436
1458
  /** @internal */
1437
- const enum EXTLightsArea_LightShape {
1459
+ const enum EXTLightsArea_LightType {
1438
1460
  RECT = "rect",
1439
- DISK = "disk"
1461
+ DISK = "disk",
1440
1462
  }
1441
1463
 
1442
1464
  /** @internal */
@@ -1446,13 +1468,13 @@ declare module BABYLON.GLTF2 {
1446
1468
 
1447
1469
  /** @internal */
1448
1470
  interface IEXTLightsArea_Light extends IChildRootProperty {
1449
- shape: EXTLightsArea_LightShape;
1471
+ type: EXTLightsArea_LightType;
1450
1472
  color?: number[];
1451
1473
  intensity?: number;
1452
- type?: "area";
1453
- width?: number;
1454
- height?: number;
1455
- radius?: number;
1474
+ size?: number;
1475
+ rect?: {
1476
+ aspect: number;
1477
+ };
1456
1478
  }
1457
1479
 
1458
1480
  /** @internal */
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": "8.33.4",
4
+ "version": "8.34.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/BabylonJS/Babylon.js.git"