17 INLINE CLerpAnimEffectInterval::
18 CLerpAnimEffectInterval(
const std::string &name,
double duration,
19 CLerpInterval::BlendType blend_type) :
34 float begin_effect,
float end_effect) {
35 _controls.push_back(ControlDef(control, name, begin_effect, end_effect));
41 INLINE CLerpAnimEffectInterval::ControlDef::
42 ControlDef(
AnimControl *control,
const std::string &name,
43 float begin_effect,
float end_effect) :
46 _begin_effect(begin_effect),
47 _end_effect(end_effect)
void add_control(AnimControl *control, const std::string &name, float begin_effect, float end_effect)
Adds another AnimControl to the list of AnimControls affected by the lerp.
Controls the timing of a character animation.
The base class for a family of intervals that linearly interpolate one or more numeric values over ti...