babylonjs-loaders 5.7.0 → 5.8.2

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.
@@ -2942,6 +2942,13 @@ var GLTFFileLoader = /** @class */ (function () {
2942
2942
  * Note that the observable is raised as soon as the mesh object is created, meaning some data may not have been setup yet for this mesh (vertex data, morph targets, material, ...)
2943
2943
  */
2944
2944
  this.onMeshLoadedObservable = new core_Misc_observable__WEBPACK_IMPORTED_MODULE_0__.Observable();
2945
+ /**
2946
+ * Callback raised when the loader creates a skin after parsing the glTF properties of the skin node.
2947
+ * @see https://doc.babylonjs.com/divingDeeper/importers/glTF/glTFSkinning#ignoring-the-transform-of-the-skinned-mesh
2948
+ * @param node - the transform node that corresponds to the original glTF skin node used for animations
2949
+ * @param skinnedNode - the transform node that is the skinned mesh itself or the parent of the skinned meshes
2950
+ */
2951
+ this.onSkinLoadedObservable = new core_Misc_observable__WEBPACK_IMPORTED_MODULE_0__.Observable();
2945
2952
  /**
2946
2953
  * Observable raised when the loader creates a texture after parsing the glTF properties of the texture.
2947
2954
  */
@@ -3202,6 +3209,7 @@ var GLTFFileLoader = /** @class */ (function () {
3202
3209
  delete this._progressCallback;
3203
3210
  this.preprocessUrlAsync = function (url) { return Promise.resolve(url); };
3204
3211
  this.onMeshLoadedObservable.clear();
3212
+ this.onSkinLoadedObservable.clear();
3205
3213
  this.onTextureLoadedObservable.clear();
3206
3214
  this.onMaterialLoadedObservable.clear();
3207
3215
  this.onCameraLoadedObservable.clear();