AnimationUtils.d.ts 723 B

1234567891011121314151617181920212223242526
  1. import { AnimationClip } from './AnimationClip';
  2. export namespace AnimationUtils {
  3. export function arraySlice( array: any, from: number, to: number ): any;
  4. export function convertArray( array: any, type: any, forceClone: boolean ): any;
  5. export function isTypedArray( object: any ): boolean;
  6. export function getKeyFrameOrder( times: number ): number[];
  7. export function sortedArray(
  8. values: any[],
  9. stride: number,
  10. order: number[]
  11. ): any[];
  12. export function flattenJSON(
  13. jsonKeys: string[],
  14. times: any[],
  15. values: any[],
  16. valuePropertyName: string
  17. ): void;
  18. export function subclip(
  19. sourceClip: AnimationClip,
  20. name: string,
  21. startFrame: number,
  22. endFrame: number,
  23. fps?: number
  24. ): AnimationClip;
  25. }
粤ICP备19079148号