babylonjs-gltf2interface 5.0.0-alpha.9 → 5.0.0-beta.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.glTF2Interface.d.ts +27 -16
- package/package.json +1 -1
|
@@ -262,7 +262,7 @@ declare module BABYLON.GLTF2 {
|
|
|
262
262
|
[key: string]: any;
|
|
263
263
|
};
|
|
264
264
|
/**
|
|
265
|
-
* Application-Specific data
|
|
265
|
+
* Application-Specific data
|
|
266
266
|
*/
|
|
267
267
|
extras?: any;
|
|
268
268
|
}
|
|
@@ -1023,28 +1023,38 @@ declare module BABYLON.GLTF2 {
|
|
|
1023
1023
|
lights: IKHRLightsPunctual_Light[];
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
1026
|
+
/** @hidden */
|
|
1027
|
+
interface IMaterialExtension {
|
|
1028
|
+
hasTextures?() : boolean;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
/** @hidden */
|
|
1032
|
+
interface IKHRMaterialsClearcoat extends IMaterialExtension {
|
|
1033
|
+
clearcoatFactor?: number;
|
|
1034
|
+
clearcoatTexture?: ITextureInfo;
|
|
1035
|
+
clearcoatRoughnessFactor?: number;
|
|
1036
|
+
clearcoatRoughnessTexture?: ITextureInfo;
|
|
1037
|
+
clearcoatNormalTexture?: IMaterialNormalTextureInfo;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1026
1040
|
/**
|
|
1027
|
-
* Interfaces from the
|
|
1041
|
+
* Interfaces from the KHR_materials_ior extension
|
|
1028
1042
|
* !!! Experimental Extension Subject to Changes !!!
|
|
1029
1043
|
*/
|
|
1030
1044
|
|
|
1031
1045
|
/** @hidden */
|
|
1032
|
-
interface
|
|
1033
|
-
|
|
1034
|
-
clearcoatTexture: ITextureInfo;
|
|
1035
|
-
clearcoatRoughnessFactor: number;
|
|
1036
|
-
clearcoatRoughnessTexture: ITextureInfo;
|
|
1037
|
-
clearcoatNormalTexture: IMaterialNormalTextureInfo;
|
|
1046
|
+
interface IKHRMaterialsIor extends IMaterialExtension {
|
|
1047
|
+
ior: number;
|
|
1038
1048
|
}
|
|
1039
1049
|
|
|
1040
1050
|
/**
|
|
1041
|
-
* Interfaces from the
|
|
1051
|
+
* Interfaces from the KHR_materials_emissive_strength extension
|
|
1042
1052
|
* !!! Experimental Extension Subject to Changes !!!
|
|
1043
1053
|
*/
|
|
1044
1054
|
|
|
1045
1055
|
/** @hidden */
|
|
1046
|
-
interface
|
|
1047
|
-
|
|
1056
|
+
interface IKHRMaterialsEmissiveStrength extends IMaterialExtension {
|
|
1057
|
+
emissiveStrength: number;
|
|
1048
1058
|
}
|
|
1049
1059
|
|
|
1050
1060
|
/**
|
|
@@ -1052,7 +1062,7 @@ declare module BABYLON.GLTF2 {
|
|
|
1052
1062
|
*/
|
|
1053
1063
|
|
|
1054
1064
|
/** @hidden */
|
|
1055
|
-
interface IKHRMaterialsPbrSpecularGlossiness {
|
|
1065
|
+
interface IKHRMaterialsPbrSpecularGlossiness extends IMaterialExtension {
|
|
1056
1066
|
diffuseFactor: number[];
|
|
1057
1067
|
diffuseTexture: ITextureInfo;
|
|
1058
1068
|
specularFactor: number[];
|
|
@@ -1066,7 +1076,7 @@ declare module BABYLON.GLTF2 {
|
|
|
1066
1076
|
*/
|
|
1067
1077
|
|
|
1068
1078
|
/** @hidden */
|
|
1069
|
-
interface IKHRMaterialsSheen {
|
|
1079
|
+
interface IKHRMaterialsSheen extends IMaterialExtension {
|
|
1070
1080
|
sheenColorFactor?: number[];
|
|
1071
1081
|
sheenColorTexture?: ITextureInfo;
|
|
1072
1082
|
sheenRoughnessFactor?: number;
|
|
@@ -1079,10 +1089,11 @@ declare module BABYLON.GLTF2 {
|
|
|
1079
1089
|
*/
|
|
1080
1090
|
|
|
1081
1091
|
/** @hidden */
|
|
1082
|
-
interface IKHRMaterialsSpecular {
|
|
1092
|
+
interface IKHRMaterialsSpecular extends IMaterialExtension {
|
|
1083
1093
|
specularFactor: number;
|
|
1084
1094
|
specularColorFactor: number[];
|
|
1085
1095
|
specularTexture: ITextureInfo;
|
|
1096
|
+
specularColorTexture: ITextureInfo;
|
|
1086
1097
|
}
|
|
1087
1098
|
|
|
1088
1099
|
/**
|
|
@@ -1091,7 +1102,7 @@ declare module BABYLON.GLTF2 {
|
|
|
1091
1102
|
*/
|
|
1092
1103
|
|
|
1093
1104
|
/** @hidden */
|
|
1094
|
-
interface IKHRMaterialsTransmission {
|
|
1105
|
+
interface IKHRMaterialsTransmission extends IMaterialExtension {
|
|
1095
1106
|
transmissionFactor?: number;
|
|
1096
1107
|
transmissionTexture?: ITextureInfo;
|
|
1097
1108
|
}
|
|
@@ -1102,7 +1113,7 @@ declare module BABYLON.GLTF2 {
|
|
|
1102
1113
|
*/
|
|
1103
1114
|
|
|
1104
1115
|
/** @hidden */
|
|
1105
|
-
interface IKHRMaterialsTranslucency {
|
|
1116
|
+
interface IKHRMaterialsTranslucency extends IMaterialExtension {
|
|
1106
1117
|
translucencyFactor?: number;
|
|
1107
1118
|
translucencyTexture?: ITextureInfo;
|
|
1108
1119
|
}
|
package/package.json
CHANGED