babylonjs-loaders 7.22.3 → 7.22.5
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 +29 -16
- package/babylon.glTF1FileLoader.min.js +1 -1
- package/babylon.glTF1FileLoader.min.js.map +1 -1
- package/babylon.glTF2FileLoader.js +29 -16
- package/babylon.glTF2FileLoader.min.js +1 -1
- package/babylon.glTF2FileLoader.min.js.map +1 -1
- package/babylon.glTFFileLoader.js +29 -16
- package/babylon.glTFFileLoader.min.js +1 -1
- package/babylon.glTFFileLoader.min.js.map +1 -1
- package/babylonjs.loaders.d.ts +6 -6
- package/babylonjs.loaders.js +29 -16
- package/babylonjs.loaders.min.js +1 -1
- package/babylonjs.loaders.min.js.map +1 -1
- package/babylonjs.loaders.module.d.ts +12 -12
- package/package.json +3 -3
|
@@ -174,7 +174,7 @@ abstract class GLTFLoaderOptions {
|
|
|
174
174
|
/**
|
|
175
175
|
* Raised when the asset has been parsed
|
|
176
176
|
*/
|
|
177
|
-
abstract onParsed?: (loaderData: IGLTFLoaderData) => void;
|
|
177
|
+
abstract onParsed?: ((loaderData: IGLTFLoaderData) => void) | undefined;
|
|
178
178
|
/**
|
|
179
179
|
* The coordinate system mode. Defaults to AUTO.
|
|
180
180
|
*/
|
|
@@ -268,24 +268,24 @@ abstract class GLTFLoaderOptions {
|
|
|
268
268
|
* Callback raised when the loader creates a mesh after parsing the glTF properties of the mesh.
|
|
269
269
|
* Note that the callback is called 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, ...)
|
|
270
270
|
*/
|
|
271
|
-
abstract onMeshLoaded?: (mesh: AbstractMesh) => void;
|
|
271
|
+
abstract onMeshLoaded?: ((mesh: AbstractMesh) => void) | undefined;
|
|
272
272
|
/**
|
|
273
273
|
* Callback raised when the loader creates a skin after parsing the glTF properties of the skin node.
|
|
274
274
|
* @see https://doc.babylonjs.com/features/featuresDeepDive/importers/glTF/glTFSkinning#ignoring-the-transform-of-the-skinned-mesh
|
|
275
275
|
*/
|
|
276
|
-
abstract onSkinLoaded?: (node: TransformNode, skinnedNode: TransformNode) => void;
|
|
276
|
+
abstract onSkinLoaded?: ((node: TransformNode, skinnedNode: TransformNode) => void) | undefined;
|
|
277
277
|
/**
|
|
278
278
|
* Callback raised when the loader creates a texture after parsing the glTF properties of the texture.
|
|
279
279
|
*/
|
|
280
|
-
abstract onTextureLoaded?: (texture: BaseTexture) => void;
|
|
280
|
+
abstract onTextureLoaded?: ((texture: BaseTexture) => void) | undefined;
|
|
281
281
|
/**
|
|
282
282
|
* Callback raised when the loader creates a material after parsing the glTF properties of the material.
|
|
283
283
|
*/
|
|
284
|
-
abstract onMaterialLoaded?: (material: Material) => void;
|
|
284
|
+
abstract onMaterialLoaded?: ((material: Material) => void) | undefined;
|
|
285
285
|
/**
|
|
286
286
|
* Callback raised when the loader creates a camera after parsing the glTF properties of the camera.
|
|
287
287
|
*/
|
|
288
|
-
abstract onCameraLoaded?: (camera: Camera) => void;
|
|
288
|
+
abstract onCameraLoaded?: ((camera: Camera) => void) | undefined;
|
|
289
289
|
/**
|
|
290
290
|
* Defines options for glTF extensions.
|
|
291
291
|
*/
|
|
@@ -4811,7 +4811,7 @@ declare module BABYLON {
|
|
|
4811
4811
|
/**
|
|
4812
4812
|
* Raised when the asset has been parsed
|
|
4813
4813
|
*/
|
|
4814
|
-
abstract onParsed?: (loaderData: IGLTFLoaderData) => void;
|
|
4814
|
+
abstract onParsed?: ((loaderData: IGLTFLoaderData) => void) | undefined;
|
|
4815
4815
|
/**
|
|
4816
4816
|
* The coordinate system mode. Defaults to AUTO.
|
|
4817
4817
|
*/
|
|
@@ -4905,24 +4905,24 @@ declare module BABYLON {
|
|
|
4905
4905
|
* Callback raised when the loader creates a mesh after parsing the glTF properties of the mesh.
|
|
4906
4906
|
* Note that the callback is called 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, ...)
|
|
4907
4907
|
*/
|
|
4908
|
-
abstract onMeshLoaded?: (mesh: AbstractMesh) => void;
|
|
4908
|
+
abstract onMeshLoaded?: ((mesh: AbstractMesh) => void) | undefined;
|
|
4909
4909
|
/**
|
|
4910
4910
|
* Callback raised when the loader creates a skin after parsing the glTF properties of the skin node.
|
|
4911
4911
|
* @see https://doc.babylonjs.com/features/featuresDeepDive/importers/glTF/glTFSkinning#ignoring-the-transform-of-the-skinned-mesh
|
|
4912
4912
|
*/
|
|
4913
|
-
abstract onSkinLoaded?: (node: TransformNode, skinnedNode: TransformNode) => void;
|
|
4913
|
+
abstract onSkinLoaded?: ((node: TransformNode, skinnedNode: TransformNode) => void) | undefined;
|
|
4914
4914
|
/**
|
|
4915
4915
|
* Callback raised when the loader creates a texture after parsing the glTF properties of the texture.
|
|
4916
4916
|
*/
|
|
4917
|
-
abstract onTextureLoaded?: (texture: BaseTexture) => void;
|
|
4917
|
+
abstract onTextureLoaded?: ((texture: BaseTexture) => void) | undefined;
|
|
4918
4918
|
/**
|
|
4919
4919
|
* Callback raised when the loader creates a material after parsing the glTF properties of the material.
|
|
4920
4920
|
*/
|
|
4921
|
-
abstract onMaterialLoaded?: (material: Material) => void;
|
|
4921
|
+
abstract onMaterialLoaded?: ((material: Material) => void) | undefined;
|
|
4922
4922
|
/**
|
|
4923
4923
|
* Callback raised when the loader creates a camera after parsing the glTF properties of the camera.
|
|
4924
4924
|
*/
|
|
4925
|
-
abstract onCameraLoaded?: (camera: Camera) => void;
|
|
4925
|
+
abstract onCameraLoaded?: ((camera: Camera) => void) | undefined;
|
|
4926
4926
|
/**
|
|
4927
4927
|
* Defines options for glTF extensions.
|
|
4928
4928
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-loaders",
|
|
3
|
-
"version": "7.22.
|
|
3
|
+
"version": "7.22.5",
|
|
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": "^7.22.
|
|
19
|
-
"babylonjs-gltf2interface": "^7.22.
|
|
18
|
+
"babylonjs": "^7.22.5",
|
|
19
|
+
"babylonjs-gltf2interface": "^7.22.5"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@dev/build-tools": "1.0.0",
|