AnimateChannel:

duration: number

loops: number

direction: TimeDirection

easing: EaseFunc

interpolation: Interpolation

isFinished: boolean

timing: number[] | undefined

easings: EaseFunc[] | undefined

relative: boolean

update(obj: GameObj, t: number): boolean

getLowerKeyIndexAndRelativeTime(t: number, count: number, timing?: number[]): [ number, number, boolean ]

Returns the first key index for the given time, as well as the relative time towards the second key.

paramt- The time in seconds.

paramcount- The optional timestamps in percent.

returnsThe first key index for the given time, as well as the relative time towards the second key.

setValue<T>(obj: GameObj, name: string, value: T): void

serialize(): AnimationChannel