1 | import { Accessor } from "./mesh/mesh";
|
2 | import { Entity } from "./ECS/entityMgr";
|
3 | export declare class Animation {
|
4 | channels: AnimationChannel[];
|
5 | static totalTime: number;
|
6 | static attachChannel(anim: Animation, chan: AnimationChannel): void;
|
7 | }
|
8 | export declare class AnimationChannel {
|
9 | entity: Entity;
|
10 | isBezier: any;
|
11 | isKeyframe: any;
|
12 | isLoop: boolean;
|
13 | timeline: Float32Array;
|
14 | keyframe: Float32Array[];
|
15 | channel: Float32Array;
|
16 | pause: boolean;
|
17 | currentTime: number;
|
18 | startTime: number;
|
19 | endTime: number;
|
20 | totalTime: number;
|
21 | step: number;
|
22 | speed: number;
|
23 | constructor(pTarget: any, timeline: Accessor, keyframe: Accessor);
|
24 | }
|