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
package/babylonjs.loaders.d.ts
CHANGED
|
@@ -243,6 +243,11 @@ declare module BABYLON {
|
|
|
243
243
|
* Set this to true if loading assets with invalid `skin.skeleton` values.
|
|
244
244
|
*/
|
|
245
245
|
alwaysComputeSkeletonRootNode: boolean;
|
|
246
|
+
/**
|
|
247
|
+
* If true, the loader will derive the name for Babylon textures from the glTF texture name, image name, or image url. Defaults to false.
|
|
248
|
+
* 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.
|
|
249
|
+
*/
|
|
250
|
+
useGltfTextureNames: boolean;
|
|
246
251
|
/**
|
|
247
252
|
* Function called before loading a url referenced by the asset.
|
|
248
253
|
* @param url url referenced by the asset
|