babylonjs-loaders 6.46.0 → 6.46.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.
@@ -946,7 +946,7 @@ export function convertGLTFToSerializedFlowGraph(gltf: IKHRInteractivity): ISeri
946
946
  declare module "babylonjs-loaders/glTF/2.0/Extensions/interactivityPathToObjectConverter" {
947
947
  import { IGLTF } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
948
948
  import { GLTFPathToObjectConverter } from "babylonjs-loaders/glTF/2.0/Extensions/gltfPathToObjectConverter";
949
- import { IObjectAccessor } from "babylonjs/FlowGraph";
949
+ import { IObjectAccessor } from "babylonjs/FlowGraph/typeDefinitions";
950
950
  /**
951
951
  * Class to convert an interactivity pointer path to a smart object
952
952
  */
@@ -3892,7 +3892,7 @@ export * from "babylonjs-loaders/SPLAT/splatFileLoader";
3892
3892
 
3893
3893
  }
3894
3894
  declare module "babylonjs-loaders/SPLAT/splatFileLoader" {
3895
- import { ISceneLoaderPluginAsync, ISceneLoaderPluginFactory, ISceneLoaderPlugin, ISceneLoaderAsyncResult, ISceneLoaderPluginExtensions } from "babylonjs/Loading/sceneLoader";
3895
+ import { ISceneLoaderPluginAsync, ISceneLoaderPluginFactory, ISceneLoaderPlugin, ISceneLoaderAsyncResult, ISceneLoaderPluginExtensions, ISceneLoaderProgressEvent } from "babylonjs/Loading/sceneLoader";
3896
3896
  import { AssetContainer } from "babylonjs/assetContainer";
3897
3897
  import { Scene } from "babylonjs/scene";
3898
3898
  /**
@@ -3930,9 +3930,11 @@ export class SPLATFileLoader implements ISceneLoaderPluginAsync, ISceneLoaderPlu
3930
3930
  * @param scene the scene the meshes should be added to
3931
3931
  * @param data the gaussian splatting data to load
3932
3932
  * @param rootUrl root url to load from
3933
+ * @param onProgress callback called while file is loading
3934
+ * @param fileName Defines the name of the file to load
3933
3935
  * @returns a promise containing the loaded meshes, particles, skeletons and animations
3934
3936
  */
3935
- importMeshAsync(_meshesNames: any, scene: Scene, data: any, rootUrl: string): Promise<ISceneLoaderAsyncResult>;
3937
+ importMeshAsync(_meshesNames: any, scene: Scene, data: any, rootUrl: string, onProgress?: (event: ISceneLoaderProgressEvent) => void, fileName?: string): Promise<ISceneLoaderAsyncResult>;
3936
3938
  /**
3937
3939
  * Imports all objects from the loaded gaussian splatting data and adds them to the scene
3938
3940
  * @param scene the scene the objects should be added to
@@ -7898,9 +7900,11 @@ declare module BABYLON {
7898
7900
  * @param scene the scene the meshes should be added to
7899
7901
  * @param data the gaussian splatting data to load
7900
7902
  * @param rootUrl root url to load from
7903
+ * @param onProgress callback called while file is loading
7904
+ * @param fileName Defines the name of the file to load
7901
7905
  * @returns a promise containing the loaded meshes, particles, skeletons and animations
7902
7906
  */
7903
- importMeshAsync(_meshesNames: any, scene: Scene, data: any, rootUrl: string): Promise<ISceneLoaderAsyncResult>;
7907
+ importMeshAsync(_meshesNames: any, scene: Scene, data: any, rootUrl: string, onProgress?: (event: ISceneLoaderProgressEvent) => void, fileName?: string): Promise<ISceneLoaderAsyncResult>;
7904
7908
  /**
7905
7909
  * Imports all objects from the loaded gaussian splatting data and adds them to the scene
7906
7910
  * @param scene the scene the objects should be added to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-loaders",
3
- "version": "6.46.0",
3
+ "version": "6.46.1",
4
4
  "main": "babylonjs.loaders.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": "^6.46.0",
19
- "babylonjs-gltf2interface": "^6.46.0"
18
+ "babylonjs": "^6.46.1",
19
+ "babylonjs-gltf2interface": "^6.46.1"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@dev/build-tools": "1.0.0",