animationRange.d.ts 826 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * Represents the range of an animation
  3. */
  4. export declare class AnimationRange {
  5. /**The name of the animation range**/
  6. name: string;
  7. /**The starting frame of the animation */
  8. from: number;
  9. /**The ending frame of the animation*/
  10. to: number;
  11. /**
  12. * Initializes the range of an animation
  13. * @param name The name of the animation range
  14. * @param from The starting frame of the animation
  15. * @param to The ending frame of the animation
  16. */
  17. constructor(
  18. /**The name of the animation range**/
  19. name: string,
  20. /**The starting frame of the animation */
  21. from: number,
  22. /**The ending frame of the animation*/
  23. to: number);
  24. /**
  25. * Makes a copy of the animation range
  26. * @returns A copy of the animation range
  27. */
  28. clone(): AnimationRange;
  29. }