babylonjs-serializers 8.40.1 → 8.41.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.
@@ -365,14 +365,16 @@ declare module BABYLON {
365
365
  postExportNodeAsync?(context: string, node: BABYLON.GLTF2.INode, babylonNode: Node, nodeMap: Map<Node, number>, convertToRightHanded: boolean, bufferManager: BufferManager): Promise<Nullable<BABYLON.GLTF2.INode>>;
366
366
  /**
367
367
  * Define this method to modify the default behavior when exporting a material
368
- * @param material glTF material
368
+ * @param context The context when exporting the material
369
+ * @param node glTF material
369
370
  * @param babylonMaterial BabylonJS material
370
371
  * @returns nullable BABYLON.GLTF2.IMaterial promise
371
372
  */
372
373
  postExportMaterialAsync?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): Promise<BABYLON.GLTF2.IMaterial>;
373
374
  /**
374
375
  * Define this method to return additional textures to export from a material
375
- * @param material glTF material
376
+ * @param context The context when exporting the material
377
+ * @param node glTF material
376
378
  * @param babylonMaterial BabylonJS material
377
379
  * @returns List of textures
378
380
  */
@@ -426,14 +426,16 @@ export interface IGLTFExporterExtensionV2 extends IGLTFExporterExtension, IDispo
426
426
  postExportNodeAsync?(context: string, node: INode, babylonNode: Node, nodeMap: Map<Node, number>, convertToRightHanded: boolean, bufferManager: BufferManager): Promise<Nullable<INode>>;
427
427
  /**
428
428
  * Define this method to modify the default behavior when exporting a material
429
- * @param material glTF material
429
+ * @param context The context when exporting the material
430
+ * @param node glTF material
430
431
  * @param babylonMaterial BabylonJS material
431
432
  * @returns nullable IMaterial promise
432
433
  */
433
434
  postExportMaterialAsync?(context: string, node: IMaterial, babylonMaterial: Material): Promise<IMaterial>;
434
435
  /**
435
436
  * Define this method to return additional textures to export from a material
436
- * @param material glTF material
437
+ * @param context The context when exporting the material
438
+ * @param node glTF material
437
439
  * @param babylonMaterial BabylonJS material
438
440
  * @returns List of textures
439
441
  */
@@ -2170,14 +2172,16 @@ declare module BABYLON {
2170
2172
  postExportNodeAsync?(context: string, node: BABYLON.GLTF2.INode, babylonNode: Node, nodeMap: Map<Node, number>, convertToRightHanded: boolean, bufferManager: BufferManager): Promise<Nullable<BABYLON.GLTF2.INode>>;
2171
2173
  /**
2172
2174
  * Define this method to modify the default behavior when exporting a material
2173
- * @param material glTF material
2175
+ * @param context The context when exporting the material
2176
+ * @param node glTF material
2174
2177
  * @param babylonMaterial BabylonJS material
2175
2178
  * @returns nullable BABYLON.GLTF2.IMaterial promise
2176
2179
  */
2177
2180
  postExportMaterialAsync?(context: string, node: BABYLON.GLTF2.IMaterial, babylonMaterial: Material): Promise<BABYLON.GLTF2.IMaterial>;
2178
2181
  /**
2179
2182
  * Define this method to return additional textures to export from a material
2180
- * @param material glTF material
2183
+ * @param context The context when exporting the material
2184
+ * @param node glTF material
2181
2185
  * @param babylonMaterial BabylonJS material
2182
2186
  * @returns List of textures
2183
2187
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-serializers",
3
- "version": "8.40.1",
3
+ "version": "8.41.1",
4
4
  "main": "babylonjs.serializers.min.js",
5
5
  "types": "babylonjs.serializers.module.d.ts",
6
6
  "files": [
@@ -15,8 +15,8 @@
15
15
  "test:escheck": "es-check es6 ./babylonjs.serializers.js"
16
16
  },
17
17
  "dependencies": {
18
- "babylonjs": "^8.40.1",
19
- "babylonjs-gltf2interface": "^8.40.1"
18
+ "babylonjs": "^8.41.1",
19
+ "babylonjs-gltf2interface": "^8.41.1"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@dev/build-tools": "1.0.0",