babylonjs-loaders 7.18.0 → 7.19.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 +14 -1
- package/babylon.glTF1FileLoader.min.js +1 -1
- package/babylon.glTF1FileLoader.min.js.map +1 -1
- package/babylon.glTF2FileLoader.js +37 -13
- package/babylon.glTF2FileLoader.min.js +1 -1
- package/babylon.glTF2FileLoader.min.js.map +1 -1
- package/babylon.glTFFileLoader.js +37 -13
- package/babylon.glTFFileLoader.min.js +1 -1
- package/babylon.glTFFileLoader.min.js.map +1 -1
- package/babylonjs.loaders.d.ts +15 -0
- package/babylonjs.loaders.js +37 -13
- package/babylonjs.loaders.min.js +1 -1
- package/babylonjs.loaders.min.js.map +1 -1
- package/babylonjs.loaders.module.d.ts +30 -0
- package/package.json +3 -3
package/babylonjs.loaders.d.ts
CHANGED
|
@@ -155,6 +155,19 @@ declare module BABYLON {
|
|
|
155
155
|
* The animation start mode. Defaults to FIRST.
|
|
156
156
|
*/
|
|
157
157
|
animationStartMode: GLTFLoaderAnimationStartMode;
|
|
158
|
+
/**
|
|
159
|
+
* Defines if the loader should load node animations. Defaults to true.
|
|
160
|
+
* NOTE: The animation of this node will still load if the node is also a joint of a skin and `loadSkins` is true.
|
|
161
|
+
*/
|
|
162
|
+
loadNodeAnimations: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Defines if the loader should load skins. Defaults to true.
|
|
165
|
+
*/
|
|
166
|
+
loadSkins: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Defines if the loader should load morph targets. Defaults to true.
|
|
169
|
+
*/
|
|
170
|
+
loadMorphTargets: boolean;
|
|
158
171
|
/**
|
|
159
172
|
* Defines if the loader should compile materials before raising the success callback. Defaults to false.
|
|
160
173
|
*/
|
|
@@ -603,6 +616,8 @@ declare module BABYLON.GLTF2.Loader {
|
|
|
603
616
|
_primitiveBabylonMeshes?: AbstractMesh[];
|
|
604
617
|
/** @internal */
|
|
605
618
|
_numMorphTargets?: number;
|
|
619
|
+
/** @internal */
|
|
620
|
+
_isJoint?: boolean;
|
|
606
621
|
}
|
|
607
622
|
/** @internal */
|
|
608
623
|
export interface _ISamplerData {
|