babylonjs-loaders 8.40.0 → 8.41.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.
@@ -5058,7 +5058,8 @@ declare module "babylonjs-loaders/glTF/2.0/Extensions/ExtrasAsMetadata" {
5058
5058
  import { Nullable } from "babylonjs/types";
5059
5059
  import { TransformNode } from "babylonjs/Meshes/transformNode";
5060
5060
  import { Camera } from "babylonjs/Cameras/camera";
5061
- import { INode, ICamera, IMaterial } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
5061
+ import { AnimationGroup } from "babylonjs/Animations/animationGroup";
5062
+ import { INode, ICamera, IMaterial, IAnimation } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
5062
5063
  import { IGLTFLoaderExtension } from "babylonjs-loaders/glTF/2.0/glTFLoaderExtension";
5063
5064
  import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
5064
5065
  import { Material } from "babylonjs/Materials/material";
@@ -5102,6 +5103,10 @@ export class ExtrasAsMetadata implements IGLTFLoaderExtension {
5102
5103
  * @internal
5103
5104
  */
5104
5105
  createMaterial(context: string, material: IMaterial, babylonDrawMode: number): Nullable<Material>;
5106
+ /**
5107
+ * @internal
5108
+ */
5109
+ loadAnimationAsync(context: string, animation: IAnimation): Nullable<Promise<AnimationGroup>>;
5105
5110
  }
5106
5111
 
5107
5112
  }
@@ -12473,6 +12478,10 @@ declare module BABYLON.GLTF2.Loader.Extensions {
12473
12478
  * @internal
12474
12479
  */
12475
12480
  createMaterial(context: string, material: BABYLON.GLTF2.Loader.IMaterial, babylonDrawMode: number): Nullable<Material>;
12481
+ /**
12482
+ * @internal
12483
+ */
12484
+ loadAnimationAsync(context: string, animation: BABYLON.GLTF2.Loader.IAnimation): Nullable<Promise<AnimationGroup>>;
12476
12485
  }
12477
12486
 
12478
12487
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-loaders",
3
- "version": "8.40.0",
3
+ "version": "8.41.0",
4
4
  "main": "babylonjs.loaders.min.js",
5
5
  "types": "babylonjs.loaders.module.d.ts",
6
6
  "files": [
@@ -15,8 +15,8 @@
15
15
  "test:escheck": "es-check es6 ./babylonjs.loaders.js"
16
16
  },
17
17
  "dependencies": {
18
- "babylonjs": "^8.40.0",
19
- "babylonjs-gltf2interface": "^8.40.0"
18
+ "babylonjs": "^8.41.0",
19
+ "babylonjs-gltf2interface": "^8.41.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@dev/build-tools": "1.0.0",