babylonjs-loaders 7.30.0 → 7.31.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.
- package/babylon.glTF1FileLoader.js +10 -4
- package/babylon.glTF1FileLoader.min.js +1 -1
- package/babylon.glTF1FileLoader.min.js.map +1 -1
- package/babylon.glTF2FileLoader.js +18 -4
- package/babylon.glTF2FileLoader.min.js +1 -1
- package/babylon.glTF2FileLoader.min.js.map +1 -1
- package/babylon.glTFFileLoader.js +18 -4
- package/babylon.glTFFileLoader.min.js +1 -1
- package/babylon.glTFFileLoader.min.js.map +1 -1
- package/babylonjs.loaders.d.ts +5 -0
- package/babylonjs.loaders.js +28 -244
- package/babylonjs.loaders.min.js +1 -1
- package/babylonjs.loaders.min.js.map +1 -1
- package/babylonjs.loaders.module.d.ts +10 -0
- package/package.json +3 -3
|
@@ -276,6 +276,11 @@ abstract class GLTFLoaderOptions {
|
|
|
276
276
|
* Set this to true if loading assets with invalid `skin.skeleton` values.
|
|
277
277
|
*/
|
|
278
278
|
alwaysComputeSkeletonRootNode: boolean;
|
|
279
|
+
/**
|
|
280
|
+
* If true, the loader will derive the name for Babylon textures from the glTF texture name, image name, or image url. Defaults to false.
|
|
281
|
+
* Note that it is possible for multiple Babylon textures to share the same name when the Babylon textures load from the same glTF texture or image.
|
|
282
|
+
*/
|
|
283
|
+
useGltfTextureNames: boolean;
|
|
279
284
|
/**
|
|
280
285
|
* Function called before loading a url referenced by the asset.
|
|
281
286
|
* @param url url referenced by the asset
|
|
@@ -5029,6 +5034,11 @@ declare module BABYLON {
|
|
|
5029
5034
|
* Set this to true if loading assets with invalid `skin.skeleton` values.
|
|
5030
5035
|
*/
|
|
5031
5036
|
alwaysComputeSkeletonRootNode: boolean;
|
|
5037
|
+
/**
|
|
5038
|
+
* If true, the loader will derive the name for Babylon textures from the glTF texture name, image name, or image url. Defaults to false.
|
|
5039
|
+
* Note that it is possible for multiple Babylon textures to share the same name when the Babylon textures load from the same glTF texture or image.
|
|
5040
|
+
*/
|
|
5041
|
+
useGltfTextureNames: boolean;
|
|
5032
5042
|
/**
|
|
5033
5043
|
* Function called before loading a url referenced by the asset.
|
|
5034
5044
|
* @param url url referenced by the asset
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-loaders",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.31.0",
|
|
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.
|
|
19
|
-
"babylonjs-gltf2interface": "^7.
|
|
18
|
+
"babylonjs": "^7.31.0",
|
|
19
|
+
"babylonjs-gltf2interface": "^7.31.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@dev/build-tools": "1.0.0",
|