babylonjs-serializers 9.16.0 → 9.16.2
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.objSerializer.js +1 -1
- package/babylon.objSerializer.js.map +1 -1
- package/babylon.objSerializer.min.js +1 -1
- package/babylon.objSerializer.min.js.map +1 -1
- package/babylonjs.serializers.d.ts +2 -1
- package/babylonjs.serializers.js +1 -1
- 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 +4 -2
- package/package.json +3 -3
|
@@ -2271,9 +2271,10 @@ export class OBJExport {
|
|
|
2271
2271
|
/**
|
|
2272
2272
|
* Exports the material(s) of a mesh in .MTL file format (text)
|
|
2273
2273
|
* @param mesh defines the mesh to extract the material from
|
|
2274
|
+
* @param materialName defines the name of the material in the output (default is 'mat1')
|
|
2274
2275
|
* @returns the mtl content
|
|
2275
2276
|
*/
|
|
2276
|
-
static MTL(mesh: Mesh): string;
|
|
2277
|
+
static MTL(mesh: Mesh, materialName?: string): string;
|
|
2277
2278
|
}
|
|
2278
2279
|
|
|
2279
2280
|
}
|
|
@@ -6102,9 +6103,10 @@ declare namespace BABYLON {
|
|
|
6102
6103
|
/**
|
|
6103
6104
|
* Exports the material(s) of a mesh in .MTL file format (text)
|
|
6104
6105
|
* @param mesh defines the mesh to extract the material from
|
|
6106
|
+
* @param materialName defines the name of the material in the output (default is 'mat1')
|
|
6105
6107
|
* @returns the mtl content
|
|
6106
6108
|
*/
|
|
6107
|
-
static MTL(mesh: Mesh): string;
|
|
6109
|
+
static MTL(mesh: Mesh, materialName?: string): string;
|
|
6108
6110
|
}
|
|
6109
6111
|
|
|
6110
6112
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-serializers",
|
|
3
|
-
"version": "9.16.
|
|
3
|
+
"version": "9.16.2",
|
|
4
4
|
"main": "babylonjs.serializers.min.js",
|
|
5
5
|
"types": "babylonjs.serializers.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"test:escheck": "es-check es6 ./babylonjs.serializers.js"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"babylonjs": "9.16.
|
|
20
|
-
"babylonjs-gltf2interface": "9.16.
|
|
19
|
+
"babylonjs": "9.16.2",
|
|
20
|
+
"babylonjs-gltf2interface": "9.16.2"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@dev/build-tools": "1.0.0",
|