babylon.animatable.d.ts 911 B

1234567891011121314151617181920212223
  1. declare module BABYLON {
  2. class Animatable {
  3. public target: any;
  4. public fromFrame: number;
  5. public toFrame: number;
  6. public loopAnimation: boolean;
  7. public speedRatio: number;
  8. public onAnimationEnd: any;
  9. private _localDelayOffset;
  10. private _pausedDelay;
  11. private _animations;
  12. private _paused;
  13. private _scene;
  14. public animationStarted: boolean;
  15. constructor(scene: Scene, target: any, fromFrame?: number, toFrame?: number, loopAnimation?: boolean, speedRatio?: number, onAnimationEnd?: any, animations?: any);
  16. public appendAnimations(target: any, animations: Animation[]): void;
  17. public getAnimationByTargetProperty(property: string): Animation;
  18. public pause(): void;
  19. public restart(): void;
  20. public stop(): void;
  21. public _animate(delay: number): boolean;
  22. }
  23. }