21 INLINE CLerpAnimEffectInterval::
22 CLerpAnimEffectInterval(
const string &name,
double duration,
23 CLerpInterval::BlendType blend_type) :
41 float begin_effect,
float end_effect) {
42 _controls.push_back(ControlDef(control, name, begin_effect, end_effect));
50 INLINE CLerpAnimEffectInterval::ControlDef::
51 ControlDef(
AnimControl *control,
const string &name,
52 float begin_effect,
float end_effect) :
55 _begin_effect(begin_effect),
56 _end_effect(end_effect)
void add_control(AnimControl *control, const 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...