babylonjs-serializers 8.34.1 → 8.36.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.glTF2Serializer.js +1 -1
- package/babylon.glTF2Serializer.min.js +1 -1
- package/babylon.glTF2Serializer.min.js.map +1 -1
- package/babylonjs.serializers.d.ts +2 -7
- package/babylonjs.serializers.js +1 -1
- package/babylonjs.serializers.min.js +1 -1
- package/babylonjs.serializers.min.js.map +1 -1
- package/babylonjs.serializers.module.d.ts +5 -15
- package/package.json +3 -3
|
@@ -260,7 +260,6 @@ declare module BABYLON {
|
|
|
260
260
|
getTextureInfo(babylonTexture: Nullable<BaseTexture>): Nullable<BABYLON.GLTF2.ITextureInfo>;
|
|
261
261
|
exportStandardMaterialAsync(babylonStandardMaterial: StandardMaterial, hasUVs: boolean): Promise<number>;
|
|
262
262
|
private _finishMaterialAsync;
|
|
263
|
-
private _getImageDataAsync;
|
|
264
263
|
/**
|
|
265
264
|
* Resizes the two source textures to the same dimensions. If a texture is null, a default white texture is generated. If both textures are null, returns null
|
|
266
265
|
* @param texture1 first texture to resize
|
|
@@ -276,7 +275,6 @@ declare module BABYLON {
|
|
|
276
275
|
* @param diffuseTexture texture used to store diffuse information
|
|
277
276
|
* @param specularGlossinessTexture texture used to store specular and glossiness information
|
|
278
277
|
* @param factors specular glossiness material factors
|
|
279
|
-
* @param mimeType the mime type to use for the texture
|
|
280
278
|
* @returns pbr metallic roughness interface or null
|
|
281
279
|
*/
|
|
282
280
|
private _convertSpecularGlossinessTexturesToMetallicRoughnessAsync;
|
|
@@ -327,7 +325,7 @@ declare module BABYLON {
|
|
|
327
325
|
exportOpenPBRMaterialAsync(babylonOpenPBRMaterial: OpenPBRMaterial, hasUVs: boolean): Promise<number>;
|
|
328
326
|
exportTextureAsync(babylonTexture: BaseTexture, overrideId?: Nullable<number>): Promise<Nullable<BABYLON.GLTF2.ITextureInfo>>;
|
|
329
327
|
private _exportTextureImageAsync;
|
|
330
|
-
private
|
|
328
|
+
private _exportImageAsync;
|
|
331
329
|
private _exportTextureInfo;
|
|
332
330
|
private _exportTextureSampler;
|
|
333
331
|
}
|
|
@@ -412,10 +410,7 @@ declare module BABYLON {
|
|
|
412
410
|
readonly _textures: BABYLON.GLTF2.ITexture[];
|
|
413
411
|
readonly _babylonScene: Scene;
|
|
414
412
|
readonly _imageData: {
|
|
415
|
-
[fileName: string]:
|
|
416
|
-
data: ArrayBuffer;
|
|
417
|
-
mimeType: BABYLON.GLTF2.ImageMimeType;
|
|
418
|
-
};
|
|
413
|
+
[fileName: string]: Blob;
|
|
419
414
|
};
|
|
420
415
|
/**
|
|
421
416
|
* Baked animation sample rate
|