babylonjs-loaders 6.45.1 → 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.
- package/babylon.glTF1FileLoader.js +2 -1
- package/babylon.glTF1FileLoader.min.js +1 -1
- package/babylon.glTF1FileLoader.min.js.map +1 -1
- package/babylon.glTF2FileLoader.js +3 -9
- package/babylon.glTF2FileLoader.min.js +1 -1
- package/babylon.glTF2FileLoader.min.js.map +1 -1
- package/babylon.glTFFileLoader.js +4 -9
- package/babylon.glTFFileLoader.min.js +1 -1
- package/babylon.glTFFileLoader.min.js.map +1 -1
- package/babylon.objFileLoader.js +2 -1
- package/babylon.objFileLoader.min.js +1 -1
- package/babylon.objFileLoader.min.js.map +1 -1
- package/babylonjs.loaders.d.ts +3 -1
- package/babylonjs.loaders.js +10 -11
- package/babylonjs.loaders.min.js +1 -1
- package/babylonjs.loaders.min.js.map +1 -1
- package/babylonjs.loaders.module.d.ts +8 -4
- package/package.json +3 -3
package/babylonjs.loaders.d.ts
CHANGED
|
@@ -3820,9 +3820,11 @@ declare module BABYLON {
|
|
|
3820
3820
|
* @param scene the scene the meshes should be added to
|
|
3821
3821
|
* @param data the gaussian splatting data to load
|
|
3822
3822
|
* @param rootUrl root url to load from
|
|
3823
|
+
* @param onProgress callback called while file is loading
|
|
3824
|
+
* @param fileName Defines the name of the file to load
|
|
3823
3825
|
* @returns a promise containing the loaded meshes, particles, skeletons and animations
|
|
3824
3826
|
*/
|
|
3825
|
-
importMeshAsync(_meshesNames: any, scene: Scene, data: any, rootUrl: string): Promise<ISceneLoaderAsyncResult>;
|
|
3827
|
+
importMeshAsync(_meshesNames: any, scene: Scene, data: any, rootUrl: string, onProgress?: (event: ISceneLoaderProgressEvent) => void, fileName?: string): Promise<ISceneLoaderAsyncResult>;
|
|
3826
3828
|
/**
|
|
3827
3829
|
* Imports all objects from the loaded gaussian splatting data and adds them to the scene
|
|
3828
3830
|
* @param scene the scene the objects should be added to
|