babylonjs-loaders 7.53.2 → 7.54.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.
@@ -4992,7 +4992,7 @@ declare module BABYLON {
4992
4992
  /**
4993
4993
  * Defines options for the obj loader.
4994
4994
  */
4995
- [OBJFileLoaderMetadata.name]: {};
4995
+ [OBJFileLoaderMetadata.name]: Partial<OBJLoadingOptions>;
4996
4996
  }
4997
4997
  /**
4998
4998
  * OBJ file type loader.
@@ -5058,7 +5058,7 @@ declare module BABYLON {
5058
5058
  *
5059
5059
  * @param loadingOptions options for loading and parsing OBJ/MTL files.
5060
5060
  */
5061
- constructor(loadingOptions?: OBJLoadingOptions);
5061
+ constructor(loadingOptions?: Partial<Readonly<OBJLoadingOptions>>);
5062
5062
  private static get _DefaultLoadingOptions();
5063
5063
  /**
5064
5064
  * Calls synchronously the MTL file attached to this obj.
@@ -5072,11 +5072,8 @@ declare module BABYLON {
5072
5072
  * @param onFailure
5073
5073
  */
5074
5074
  private _loadMTL;
5075
- /**
5076
- * Instantiates a OBJ file loader plugin.
5077
- * @returns the created plugin
5078
- */
5079
- createPlugin(): ISceneLoaderPluginAsync | ISceneLoaderPlugin;
5075
+ /** @internal */
5076
+ createPlugin(options: SceneLoaderPluginOptions): ISceneLoaderPluginAsync | ISceneLoaderPlugin;
5080
5077
  /**
5081
5078
  * If the data string can be loaded directly.
5082
5079
  * @returns if the data can be loaded directly