![]() |
Skylicht Engine
|
Container for an array of keyframes with interpolation support. More...
#include <Animation/CAnimationTrack.h>
Public Member Functions | |
| void | clearHint () |
| Resets the search hint. | |
| int | getIndex (f32 frame) |
| Finds the index of the keyframe at or just before the specified time. | |
| u32 | size () |
| Gets the number of keyframes. | |
| CKeyFrameData< T > * | pointer () |
| Returns the raw pointer to the keyframe data. | |
| f32 | getLastFrame () |
| Gets the time of the last keyframe. | |
Public Attributes | |
| core::array< CKeyFrameData< T > > | Data |
| List of keyframes, sorted by time. | |
| T | Default |
| Default value used if no keyframes are present. | |
| int | Hint |
| Internal hint for optimizing keyframe searching. | |
Container for an array of keyframes with interpolation support.
| int Skylicht::CArrayKeyFrame< T >::getIndex | ( | f32 | frame | ) |
Finds the index of the keyframe at or just before the specified time.
| frame | Time in seconds. |
|
inline |
Gets the time of the last keyframe.
|
inline |
Returns the raw pointer to the keyframe data.
|
inline |
Gets the number of keyframes.