浏览代码

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

Vincent Bouzon 11 年之前
父节点
当前提交
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;