Browse Source

Signature beginAnimation function

Changed signature of beginAnimation babylon.node.ts
Pavel 7 năm trước cách đây
mục cha
commit
6d5e36a96d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/babylon.node.ts

+ 1 - 1
src/babylon.node.ts

@@ -411,7 +411,7 @@
             return this._ranges[name];
         }
 
-        public beginAnimation(name: string, loop?: boolean, speedRatio?: number, onAnimationEnd?: () => void): void {
+        public beginAnimation(name: string, loop?: boolean, speedRatio?: number, onAnimationEnd?: () => void): Animatable {
             var range = this.getAnimationRange(name);
 
             if (!range) {