|
@@ -5,8 +5,8 @@ declare module "babylonjs-loaders"{ export=BABYLON;}
|
|
|
|
|
|
// Generated by dts-bundle v0.7.3
|
|
|
// Dependencies for this module:
|
|
|
-// ../../tools/Gulp/babylonjs
|
|
|
-// ../../tools/Gulp/babylonjs-loaders
|
|
|
+// ../../Tools/Gulp/babylonjs
|
|
|
+// ../../Tools/Gulp/babylonjs-loaders
|
|
|
|
|
|
declare module 'babylonjs-viewer' {
|
|
|
import { mapperManager } from 'babylonjs-viewer/configuration/mappers';
|
|
@@ -518,7 +518,7 @@ declare module 'babylonjs-viewer/loader/modelLoader' {
|
|
|
}
|
|
|
|
|
|
declare module 'babylonjs-viewer/model/viewerModel' {
|
|
|
- import { ISceneLoaderPlugin, ISceneLoaderPluginAsync, AnimationGroup, AbstractMesh, Observable, SceneLoaderProgressEvent, ParticleSystem, Skeleton, IDisposable, Nullable, Animation } from "babylonjs";
|
|
|
+ import { ISceneLoaderPlugin, ISceneLoaderPluginAsync, AnimationGroup, AbstractMesh, Observable, SceneLoaderProgressEvent, ParticleSystem, Skeleton, IDisposable, Nullable, Animation, Material } from "babylonjs";
|
|
|
import { GLTF2 } from "babylonjs-loaders";
|
|
|
import { IModelConfiguration } from "babylonjs-viewer/configuration/configuration";
|
|
|
import { IModelAnimation } from "babylonjs-viewer/model/modelAnimation";
|
|
@@ -651,6 +651,12 @@ declare module 'babylonjs-viewer/model/viewerModel' {
|
|
|
* @returns The model aniamtion to be played.
|
|
|
*/
|
|
|
playAnimation(name: string): IModelAnimation;
|
|
|
+ setCurrentAnimationByName(name: string): IModelAnimation;
|
|
|
+ /**
|
|
|
+ * Apply a material configuration to a material
|
|
|
+ * @param material Material to apply configuration to
|
|
|
+ */
|
|
|
+ _applyModelMaterialConfiguration(material: Material): void;
|
|
|
/**
|
|
|
* Begin @animations with the specified @easingFunction
|
|
|
* @param animations The BABYLON Animations to begin
|