API

Interface IAnimationKey

Defines an interface which represents an animation key frame

interface IAnimationKey {
    easingFunction?: IEasingFunction;
    frame: number;
    inTangent?: any;
    interpolation?: AnimationKeyInterpolation;
    lockedTangent?: boolean;
    outTangent?: any;
    value: any;
}
Index
easingFunction?: IEasingFunction

The easing function associated with the key frame (optional). If not defined, the easing function defined at the animation level (if any) will be used instead

frame: number

Frame of the key frame

inTangent?: any

The input tangent for the cubic hermite spline

The animation interpolation type

lockedTangent?: boolean

Property defined by UI tools to link (or not ) the tangents

outTangent?: any

The output tangent for the cubic hermite spline

value: any

Value at the specifies key frame