Browse Source

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

Vincent Bouzon 11 years ago
parent
commit
7e88419a39
1 changed files with 2 additions and 2 deletions
  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;