![]() | |
Key |
public abstract class KeyFramesTrackBase<T> where T : KeyFrameBase
The KeyFramesTrackBaseT type exposes the following members.
Name | Description | |
---|---|---|
![]() | KeyFramesTrackBaseT | Constructor |
Name | Description | |
---|---|---|
![]() | EasingFunction | Gets or sets a Func that gets a double and returns a double and can be specified to provide custom interpolation between first and last key frame. This defines the speed of the animation. When null (by default), linear interpolation is used. |
![]() | FirstFrame | Gets first frame for this track |
![]() | Keys | Gets a list of key frames. |
![]() | KeysCount | Gets count of key frames. |
![]() | LastFrame | Gets last frame for this track |
Name | Description | |
---|---|---|
![]() | Dump | Writes details about this KeyFramesTrack to the Visual Studio Output window. This method calls the protected GetDumpString method to get details about each keyframe. |
![]() | GetDumpString | GetDumpString virtual method can be overridden to provide detailed description of this object. |
![]() | InterpolateFrameNumber | InterpolateFrameNumber method interpolates the specified frame number based on the specified EasingFunction. This method must be called from all derived classes to calculate the final frame number. |
![]() | SetEasingFunctionToAllKeys | SetInterpolationToAllKeys methods sets the specified interpolation to all keys in the key frames track. |
KeyFramesTrackBase is a base class for all key frame tracks that define animation data stored in a Keys list.
NOTE:
All derived class need to call InterpolateFrameNumber(Double) method to adjust the frame number based on the TrackInterpolation property value
before the data for the frame are calculated.