A list of time stamps and the values to be used for each. More...
#include <model_data_animation_timeline.h>
Public Member Functions | |
float | find_animation_indices (float timestamp, size_t &index, size_t &index2) const |
Type | get_value (float timestamp) const |
template<> | |
Quaternionf | get_value (float timestamp) const |
template<> | |
Mat4f | get_value (float timestamp) const |
Public Attributes | |
std::vector< float > | timestamps |
std::vector< Type > | values |
A list of time stamps and the values to be used for each.
|
inline |
References clan::clamp(), clan::min(), and clan::ModelDataAnimationTimeline< Type >::timestamps.
Referenced by clan::ModelDataAnimationTimeline< Type >::get_value().
|
inline |
|
inline |
References clan::Quaternionx< float >::lerp().
|
inline |
std::vector<float> clan::ModelDataAnimationTimeline< Type >::timestamps |
std::vector<Type> clan::ModelDataAnimationTimeline< Type >::values |
Referenced by clan::ModelDataAnimationTimeline< Type >::get_value().