babylonjs-serializers 5.2.0 → 5.3.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 +3 -79
- package/babylon.glTF2Serializer.js.map +1 -1
- package/babylon.glTF2Serializer.min.js +1 -1
- package/babylon.glTF2Serializer.min.js.map +1 -1
- package/babylonjs.serializers.d.ts +0 -7
- package/babylonjs.serializers.js +3 -79
- package/babylonjs.serializers.js.map +1 -1
- package/babylonjs.serializers.min.js +1 -1
- package/babylonjs.serializers.min.js.map +1 -1
- package/babylonjs.serializers.module.d.ts +0 -15
- package/package.json +3 -3
|
@@ -995,7 +995,6 @@ import { _Exporter } from "babylonjs-serializers/glTF/2.0/glTFExporter";
|
|
|
995
995
|
import { Material } from "babylonjs/Materials/material";
|
|
996
996
|
import { StandardMaterial } from "babylonjs/Materials/standardMaterial";
|
|
997
997
|
import { PBRBaseMaterial } from "babylonjs/Materials/PBR/pbrBaseMaterial";
|
|
998
|
-
import { PBRMetallicRoughnessMaterial } from "babylonjs/Materials/PBR/pbrMetallicRoughnessMaterial";
|
|
999
998
|
/**
|
|
1000
999
|
* Utility methods for working with glTF material conversion properties. This class should only be used internally
|
|
1001
1000
|
* @hidden
|
|
@@ -1077,13 +1076,6 @@ export class _GLTFMaterialExporter {
|
|
|
1077
1076
|
*/
|
|
1078
1077
|
_convertStandardMaterialAsync(babylonStandardMaterial: StandardMaterial, mimeType: ImageMimeType, hasTextureCoords: boolean): Promise<IMaterial>;
|
|
1079
1078
|
private _finishMaterial;
|
|
1080
|
-
/**
|
|
1081
|
-
* Converts a Babylon PBR Metallic Roughness Material to a glTF Material
|
|
1082
|
-
* @param babylonPBRMetalRoughMaterial BJS PBR Metallic Roughness Material
|
|
1083
|
-
* @param mimeType mime type to use for the textures
|
|
1084
|
-
* @param hasTextureCoords specifies if texture coordinates are present on the submesh to determine if textures should be applied
|
|
1085
|
-
*/
|
|
1086
|
-
_convertPBRMetallicRoughnessMaterialAsync(babylonPBRMetalRoughMaterial: PBRMetallicRoughnessMaterial, mimeType: ImageMimeType, hasTextureCoords: boolean): Promise<IMaterial>;
|
|
1087
1079
|
/**
|
|
1088
1080
|
* Converts an image typed array buffer to a base64 image
|
|
1089
1081
|
* @param buffer typed array buffer
|
|
@@ -2477,13 +2469,6 @@ declare module BABYLON {
|
|
|
2477
2469
|
*/
|
|
2478
2470
|
_convertStandardMaterialAsync(babylonStandardMaterial: StandardMaterial, mimeType: BABYLON.GLTF2.ImageMimeType, hasTextureCoords: boolean): Promise<BABYLON.GLTF2.IMaterial>;
|
|
2479
2471
|
private _finishMaterial;
|
|
2480
|
-
/**
|
|
2481
|
-
* Converts a Babylon PBR Metallic Roughness Material to a glTF Material
|
|
2482
|
-
* @param babylonPBRMetalRoughMaterial BJS PBR Metallic Roughness Material
|
|
2483
|
-
* @param mimeType mime type to use for the textures
|
|
2484
|
-
* @param hasTextureCoords specifies if texture coordinates are present on the submesh to determine if textures should be applied
|
|
2485
|
-
*/
|
|
2486
|
-
_convertPBRMetallicRoughnessMaterialAsync(babylonPBRMetalRoughMaterial: PBRMetallicRoughnessMaterial, mimeType: BABYLON.GLTF2.ImageMimeType, hasTextureCoords: boolean): Promise<BABYLON.GLTF2.IMaterial>;
|
|
2487
2472
|
/**
|
|
2488
2473
|
* Converts an image typed array buffer to a base64 image
|
|
2489
2474
|
* @param buffer typed array buffer
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-serializers",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"main": "babylonjs.serializers.js",
|
|
5
5
|
"types": "babylonjs.serializers.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.*"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^5.
|
|
18
|
-
"babylonjs-gltf2interface": "^5.
|
|
17
|
+
"babylonjs": "^5.3.0",
|
|
18
|
+
"babylonjs-gltf2interface": "^5.3.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@dev/build-tools": "1.0.0",
|