Skip to content

KeyframeTrack<T> class

Evaluates interpolated values across a sorted sequence of keyframes, each segment with its own optional easing.

public sealed class KeyframeTrack<T>
name description
KeyframeTrack(…) Initializes a track from at least two keyframes, sorted by time.
TotalDuration { get; } Gets the time of the last keyframe in milliseconds.
Evaluate(…) Evaluates the interpolated value at the given time in milliseconds; times before the first or after the last keyframe return that keyframe’s value.