1 | import { AnimationClip } from "./AnimationClip.js";
|
2 |
|
3 | declare function convertArray(array: any, type: any, forceClone: boolean): any;
|
4 |
|
5 | declare function isTypedArray(object: any): boolean;
|
6 |
|
7 | declare function getKeyframeOrder(times: number[]): number[];
|
8 |
|
9 | declare function sortedArray(values: any[], stride: number, order: number[]): any[];
|
10 |
|
11 | declare function flattenJSON(jsonKeys: string[], times: any[], values: any[], valuePropertyName: string): void;
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | declare function subclip(
|
21 | sourceClip: AnimationClip,
|
22 | name: string,
|
23 | startFrame: number,
|
24 | endFrame: number,
|
25 | fps?: number,
|
26 | ): AnimationClip;
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 | declare function makeClipAdditive(
|
35 | targetClip: AnimationClip,
|
36 | referenceFrame?: number,
|
37 | referenceClip?: AnimationClip,
|
38 | fps?: number,
|
39 | ): AnimationClip;
|
40 |
|
41 | declare const AnimationUtils: {
|
42 | convertArray: typeof convertArray;
|
43 | isTypedArray: typeof isTypedArray;
|
44 | getKeyframeOrder: typeof getKeyframeOrder;
|
45 | sortedArray: typeof sortedArray;
|
46 | flattenJSON: typeof flattenJSON;
|
47 | subclip: typeof subclip;
|
48 | makeClipAdditive: typeof makeClipAdditive;
|
49 | };
|
50 |
|
51 | export {
|
52 | AnimationUtils,
|
53 | convertArray,
|
54 | flattenJSON,
|
55 | getKeyframeOrder,
|
56 | isTypedArray,
|
57 | makeClipAdditive,
|
58 | sortedArray,
|
59 | subclip,
|
60 | };
|