|
void | SortKeyFrames () |
| Sort keyframes by time.
|
|
void | AddKeyFrame (const KeyFrame &keyFrame) |
| Append keyframe preserving container order.
|
|
void | RemoveKeyFrame (unsigned index) |
| Remove a keyframe at index.
|
|
void | RemoveAllKeyFrames () |
| Remove all keyframes.
|
|
KeyFrame * | GetKeyFrame (unsigned index) |
| Return keyframe at index, or null if not found.
|
|
unsigned | GetNumKeyFrames () const |
|
void | GetKeyFrames (float time, float duration, bool isLooped, unsigned &frameIndex, unsigned &nextFrameIndex, float &blendFactor) const |
| Return keyframes for interpolation.
|
|
bool | GetKeyFrameIndex (float time, unsigned &index) const |
| Return keyframe index based on time and previous index as hint. Return false if animation is empty.
|
|
template<class T>
struct Urho3D::KeyFrameSet< T >
Sorted array of keyframes. T: must be structure with member float time_
which is used for ordering.