babylonjs-gltf2interface 5.23.0 → 5.25.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.glTF2Interface.d.ts +39 -39
- package/package.json +1 -1
@@ -948,7 +948,7 @@ declare module BABYLON.GLTF2 {
|
|
948
948
|
|
949
949
|
/**
|
950
950
|
* The glTF validator object
|
951
|
-
* @
|
951
|
+
* @internal
|
952
952
|
*/
|
953
953
|
interface IGLTFValidator {
|
954
954
|
validateBytes: (data: Uint8Array, options?: IGLTFValidationOptions) => Promise<IGLTFValidationResults>;
|
@@ -959,12 +959,12 @@ declare module BABYLON.GLTF2 {
|
|
959
959
|
* Interfaces from the EXT_lights_image_based extension
|
960
960
|
*/
|
961
961
|
|
962
|
-
/** @
|
962
|
+
/** @internal */
|
963
963
|
interface IEXTLightsImageBased_LightReferenceImageBased {
|
964
964
|
light: number;
|
965
965
|
}
|
966
966
|
|
967
|
-
/** @
|
967
|
+
/** @internal */
|
968
968
|
interface IEXTLightsImageBased_LightImageBased extends IChildRootProperty {
|
969
969
|
intensity: number;
|
970
970
|
rotation: number[];
|
@@ -973,7 +973,7 @@ declare module BABYLON.GLTF2 {
|
|
973
973
|
irradianceCoefficients: number[][];
|
974
974
|
}
|
975
975
|
|
976
|
-
/** @
|
976
|
+
/** @internal */
|
977
977
|
interface IEXTLightsImageBased {
|
978
978
|
lights: IEXTLightsImageBased_LightImageBased[];
|
979
979
|
}
|
@@ -983,7 +983,7 @@ declare module BABYLON.GLTF2 {
|
|
983
983
|
* !!! Experimental Extension Subject to Changes !!!
|
984
984
|
*/
|
985
985
|
|
986
|
-
/** @
|
986
|
+
/** @internal */
|
987
987
|
interface IEXTMeshGpuInstancing {
|
988
988
|
mesh?: number;
|
989
989
|
attributes: { [name: string]: number };
|
@@ -993,7 +993,7 @@ declare module BABYLON.GLTF2 {
|
|
993
993
|
* Interfaces from the KHR_draco_mesh_compression extension
|
994
994
|
*/
|
995
995
|
|
996
|
-
/** @
|
996
|
+
/** @internal */
|
997
997
|
interface IKHRDracoMeshCompression {
|
998
998
|
bufferView: number;
|
999
999
|
attributes: { [name: string]: number };
|
@@ -1003,19 +1003,19 @@ declare module BABYLON.GLTF2 {
|
|
1003
1003
|
* Interfaces from the KHR_lights_punctual extension
|
1004
1004
|
*/
|
1005
1005
|
|
1006
|
-
/** @
|
1006
|
+
/** @internal */
|
1007
1007
|
const enum KHRLightsPunctual_LightType {
|
1008
1008
|
DIRECTIONAL = "directional",
|
1009
1009
|
POINT = "point",
|
1010
1010
|
SPOT = "spot",
|
1011
1011
|
}
|
1012
1012
|
|
1013
|
-
/** @
|
1013
|
+
/** @internal */
|
1014
1014
|
interface IKHRLightsPunctual_LightReference {
|
1015
1015
|
light: number;
|
1016
1016
|
}
|
1017
1017
|
|
1018
|
-
/** @
|
1018
|
+
/** @internal */
|
1019
1019
|
interface IKHRLightsPunctual_Light extends IChildRootProperty {
|
1020
1020
|
type: KHRLightsPunctual_LightType;
|
1021
1021
|
color?: number[];
|
@@ -1027,17 +1027,17 @@ declare module BABYLON.GLTF2 {
|
|
1027
1027
|
};
|
1028
1028
|
}
|
1029
1029
|
|
1030
|
-
/** @
|
1030
|
+
/** @internal */
|
1031
1031
|
interface IKHRLightsPunctual {
|
1032
1032
|
lights: IKHRLightsPunctual_Light[];
|
1033
1033
|
}
|
1034
1034
|
|
1035
|
-
/** @
|
1035
|
+
/** @internal */
|
1036
1036
|
interface IMaterialExtension {
|
1037
1037
|
hasTextures?(): boolean;
|
1038
1038
|
}
|
1039
1039
|
|
1040
|
-
/** @
|
1040
|
+
/** @internal */
|
1041
1041
|
interface IKHRMaterialsClearcoat extends IMaterialExtension {
|
1042
1042
|
clearcoatFactor?: number;
|
1043
1043
|
clearcoatTexture?: ITextureInfo;
|
@@ -1046,7 +1046,7 @@ declare module BABYLON.GLTF2 {
|
|
1046
1046
|
clearcoatNormalTexture?: IMaterialNormalTextureInfo;
|
1047
1047
|
}
|
1048
1048
|
|
1049
|
-
/** @
|
1049
|
+
/** @internal */
|
1050
1050
|
interface IKHRMaterialsIridescence extends IMaterialExtension {
|
1051
1051
|
iridescenceFactor?: number;
|
1052
1052
|
iridescenceIor?: number;
|
@@ -1060,7 +1060,7 @@ declare module BABYLON.GLTF2 {
|
|
1060
1060
|
* Interfaces from the KHR_materials_ior extension
|
1061
1061
|
*/
|
1062
1062
|
|
1063
|
-
/** @
|
1063
|
+
/** @internal */
|
1064
1064
|
interface IKHRMaterialsIor extends IMaterialExtension {
|
1065
1065
|
ior?: number;
|
1066
1066
|
}
|
@@ -1069,7 +1069,7 @@ declare module BABYLON.GLTF2 {
|
|
1069
1069
|
* Interfaces from the KHR_materials_volume extension
|
1070
1070
|
*/
|
1071
1071
|
|
1072
|
-
/** @
|
1072
|
+
/** @internal */
|
1073
1073
|
interface IKHRMaterialsVolume extends IMaterialExtension {
|
1074
1074
|
thicknessFactor?: number;
|
1075
1075
|
thicknessTexture?: ITextureInfo;
|
@@ -1081,7 +1081,7 @@ declare module BABYLON.GLTF2 {
|
|
1081
1081
|
* Interfaces from the KHR_materials_specular extension
|
1082
1082
|
*/
|
1083
1083
|
|
1084
|
-
/** @
|
1084
|
+
/** @internal */
|
1085
1085
|
interface IKHRMaterialsSpecular extends IMaterialExtension {
|
1086
1086
|
specularFactor?: number;
|
1087
1087
|
specularColorFactor?: number[];
|
@@ -1093,7 +1093,7 @@ declare module BABYLON.GLTF2 {
|
|
1093
1093
|
* Interfaces from the KHR_materials_transmission extension
|
1094
1094
|
*/
|
1095
1095
|
|
1096
|
-
/** @
|
1096
|
+
/** @internal */
|
1097
1097
|
interface IKHRMaterialsTransmission extends IMaterialExtension {
|
1098
1098
|
transmissionFactor?: number;
|
1099
1099
|
transmissionTexture?: ITextureInfo;
|
@@ -1104,7 +1104,7 @@ declare module BABYLON.GLTF2 {
|
|
1104
1104
|
* !!! Experimental Extension Subject to Changes !!!
|
1105
1105
|
*/
|
1106
1106
|
|
1107
|
-
/** @
|
1107
|
+
/** @internal */
|
1108
1108
|
interface IKHRMaterialsEmissiveStrength extends IMaterialExtension {
|
1109
1109
|
emissiveStrength: number;
|
1110
1110
|
}
|
@@ -1113,7 +1113,7 @@ declare module BABYLON.GLTF2 {
|
|
1113
1113
|
* Interfaces from the KHR_materials_pbrSpecularGlossiness extension
|
1114
1114
|
*/
|
1115
1115
|
|
1116
|
-
/** @
|
1116
|
+
/** @internal */
|
1117
1117
|
interface IKHRMaterialsPbrSpecularGlossiness extends IMaterialExtension {
|
1118
1118
|
diffuseFactor: number[];
|
1119
1119
|
diffuseTexture: ITextureInfo;
|
@@ -1126,7 +1126,7 @@ declare module BABYLON.GLTF2 {
|
|
1126
1126
|
* Interfaces from the KHR_materials_sheen extension
|
1127
1127
|
*/
|
1128
1128
|
|
1129
|
-
/** @
|
1129
|
+
/** @internal */
|
1130
1130
|
interface IKHRMaterialsSheen extends IMaterialExtension {
|
1131
1131
|
sheenColorFactor?: number[];
|
1132
1132
|
sheenColorTexture?: ITextureInfo;
|
@@ -1139,7 +1139,7 @@ declare module BABYLON.GLTF2 {
|
|
1139
1139
|
* !!! Experimental Extension Subject to Changes !!!
|
1140
1140
|
*/
|
1141
1141
|
|
1142
|
-
/** @
|
1142
|
+
/** @internal */
|
1143
1143
|
interface IKHRMaterialsTranslucency extends IMaterialExtension {
|
1144
1144
|
translucencyFactor?: number;
|
1145
1145
|
translucencyTexture?: ITextureInfo;
|
@@ -1150,7 +1150,7 @@ declare module BABYLON.GLTF2 {
|
|
1150
1150
|
* !!! Experimental Extension Subject to Changes !!!
|
1151
1151
|
*/
|
1152
1152
|
|
1153
|
-
/** @
|
1153
|
+
/** @internal */
|
1154
1154
|
interface IKHRMaterialVariants_Mapping extends IProperty {
|
1155
1155
|
mappings: Array<{
|
1156
1156
|
variants: number[];
|
@@ -1158,12 +1158,12 @@ declare module BABYLON.GLTF2 {
|
|
1158
1158
|
}>;
|
1159
1159
|
}
|
1160
1160
|
|
1161
|
-
/** @
|
1161
|
+
/** @internal */
|
1162
1162
|
interface IKHRMaterialVariants_Variant extends IProperty {
|
1163
1163
|
name: string;
|
1164
1164
|
}
|
1165
1165
|
|
1166
|
-
/** @
|
1166
|
+
/** @internal */
|
1167
1167
|
interface IKHRMaterialVariants_Variants extends IChildRootProperty {
|
1168
1168
|
variants: Array<IKHRMaterialVariants_Variant>;
|
1169
1169
|
}
|
@@ -1173,7 +1173,7 @@ declare module BABYLON.GLTF2 {
|
|
1173
1173
|
* !!! Experimental Extension Subject to Changes !!!
|
1174
1174
|
*/
|
1175
1175
|
|
1176
|
-
/** @
|
1176
|
+
/** @internal */
|
1177
1177
|
interface IKHRTextureBasisU {
|
1178
1178
|
source: number;
|
1179
1179
|
}
|
@@ -1182,7 +1182,7 @@ declare module BABYLON.GLTF2 {
|
|
1182
1182
|
* Interfaces from the EXT_texture_webp extension
|
1183
1183
|
*/
|
1184
1184
|
|
1185
|
-
/** @
|
1185
|
+
/** @internal */
|
1186
1186
|
interface IEXTTextureWebP {
|
1187
1187
|
source: number;
|
1188
1188
|
}
|
@@ -1191,7 +1191,7 @@ declare module BABYLON.GLTF2 {
|
|
1191
1191
|
* Interfaces from the KHR_texture_transform extension
|
1192
1192
|
*/
|
1193
1193
|
|
1194
|
-
/** @
|
1194
|
+
/** @internal */
|
1195
1195
|
interface IKHRTextureTransform {
|
1196
1196
|
offset?: number[];
|
1197
1197
|
rotation?: number;
|
@@ -1204,14 +1204,14 @@ declare module BABYLON.GLTF2 {
|
|
1204
1204
|
* !!! Experimental Extension Subject to Changes !!!
|
1205
1205
|
*/
|
1206
1206
|
|
1207
|
-
/** @
|
1207
|
+
/** @internal */
|
1208
1208
|
interface IKHRXmpJsonLd_Gltf {
|
1209
1209
|
packets: Array<{
|
1210
1210
|
[key: string]: unknown;
|
1211
1211
|
}>;
|
1212
1212
|
}
|
1213
1213
|
|
1214
|
-
/** @
|
1214
|
+
/** @internal */
|
1215
1215
|
interface IKHRXmpJsonLd_Node {
|
1216
1216
|
packet: number;
|
1217
1217
|
}
|
@@ -1220,25 +1220,25 @@ declare module BABYLON.GLTF2 {
|
|
1220
1220
|
* Interfaces from the MSFT_audio_emitter extension
|
1221
1221
|
*/
|
1222
1222
|
|
1223
|
-
/** @
|
1223
|
+
/** @internal */
|
1224
1224
|
interface IMSFTAudioEmitter_ClipReference {
|
1225
1225
|
clip: number;
|
1226
1226
|
weight?: number;
|
1227
1227
|
}
|
1228
1228
|
|
1229
|
-
/** @
|
1229
|
+
/** @internal */
|
1230
1230
|
interface IMSFTAudioEmitter_EmittersReference {
|
1231
1231
|
emitters: number[];
|
1232
1232
|
}
|
1233
1233
|
|
1234
|
-
/** @
|
1234
|
+
/** @internal */
|
1235
1235
|
const enum IMSFTAudioEmitter_DistanceModel {
|
1236
1236
|
linear = "linear",
|
1237
1237
|
inverse = "inverse",
|
1238
1238
|
exponential = "exponential",
|
1239
1239
|
}
|
1240
1240
|
|
1241
|
-
/** @
|
1241
|
+
/** @internal */
|
1242
1242
|
interface IMSFTAudioEmitter_Emitter {
|
1243
1243
|
name?: string;
|
1244
1244
|
distanceModel?: IMSFTAudioEmitter_DistanceModel;
|
@@ -1252,26 +1252,26 @@ declare module BABYLON.GLTF2 {
|
|
1252
1252
|
clips: IMSFTAudioEmitter_ClipReference[];
|
1253
1253
|
}
|
1254
1254
|
|
1255
|
-
/** @
|
1255
|
+
/** @internal */
|
1256
1256
|
const enum IMSFTAudioEmitter_AudioMimeType {
|
1257
1257
|
WAV = "audio/wav",
|
1258
1258
|
}
|
1259
1259
|
|
1260
|
-
/** @
|
1260
|
+
/** @internal */
|
1261
1261
|
interface IMSFTAudioEmitter_Clip extends IProperty {
|
1262
1262
|
uri?: string;
|
1263
1263
|
bufferView?: number;
|
1264
1264
|
mimeType?: IMSFTAudioEmitter_AudioMimeType;
|
1265
1265
|
}
|
1266
1266
|
|
1267
|
-
/** @
|
1267
|
+
/** @internal */
|
1268
1268
|
const enum IMSFTAudioEmitter_AnimationEventAction {
|
1269
1269
|
play = "play",
|
1270
1270
|
pause = "pause",
|
1271
1271
|
stop = "stop",
|
1272
1272
|
}
|
1273
1273
|
|
1274
|
-
/** @
|
1274
|
+
/** @internal */
|
1275
1275
|
interface IMSFTAudioEmitter_AnimationEvent {
|
1276
1276
|
action: IMSFTAudioEmitter_AnimationEventAction;
|
1277
1277
|
emitter: number;
|
@@ -1283,7 +1283,7 @@ declare module BABYLON.GLTF2 {
|
|
1283
1283
|
* Interfaces from the MSFT_lod extension
|
1284
1284
|
*/
|
1285
1285
|
|
1286
|
-
/** @
|
1286
|
+
/** @internal */
|
1287
1287
|
interface IMSFTLOD {
|
1288
1288
|
ids: number[];
|
1289
1289
|
}
|
@@ -1292,7 +1292,7 @@ declare module BABYLON.GLTF2 {
|
|
1292
1292
|
* Interfaces from the EXT_meshopt_compression extension
|
1293
1293
|
*/
|
1294
1294
|
|
1295
|
-
/** @
|
1295
|
+
/** @internal */
|
1296
1296
|
interface IEXTMeshoptCompression {
|
1297
1297
|
buffer: number;
|
1298
1298
|
byteOffset?: number;
|
package/package.json
CHANGED