Просмотр исходного кода

[Typescript definition] update scene.beginAnimation and scene.stopAnimation

Vincent Bouzon 11 лет назад
Родитель
Сommit
7e88419a39
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Typescript/babylon.scene.d.ts

+ 2 - 2
Typescript/babylon.scene.d.ts

@@ -57,8 +57,8 @@ declare module BABYLON {
         executeWhenReady(func: Function): void;
         getWaitingItemsCount(): number;
 
-        beginAnimation(target: string, from: number, to: number, loop: boolean, speedRatio: number, onAnimationEnd: Function): void;
-        stopAnimation(target: string);
+        beginAnimation(target: Mesh, from: number, to: number, loop: boolean, speedRatio?: number, onAnimationEnd?: Function): void;
+        stopAnimation(target: Mesh);
 
         getViewMatrix(): Matrix;
         getProjectionMatrix(): Matrix;