interface TypeAniKey {
    extend?: any;
    f: number;
    tweenInfo?: TypeTweenInfo;
    tweenType?: string;
    val:
        | string
        | number
        | boolean
        | CurvePath;
}

属性

extend?: any

Extension

扩展,如果有一些其它数据需要加入到关键帧中可以写在这里

f: number

The frame index.

第几帧

tweenInfo?: TypeTweenInfo

The tween information.

tween的信息

tweenType?: string

Currently used for 2D animation, it is used to record the types of animation gaps, for example (Linear|Quad_EaseIn)...

目前用于2D动画,用于记录动画补间的类型,比如(Linear|Quad_EaseIn)...

val:
    | string
    | number
    | boolean
    | CurvePath