CLerpAnimEffectInterval
-
class CLerpAnimEffectInterval
Bases:
CLerpIntervalThis interval lerps between different amounts of control effects for various
AnimControlsthat might be playing on an actor. It’s used to change the blending amount between multiple animations.The idea is to start all the animations playing first, then use a CLerpAnimEffectInterval to adjust the degree to which each animation affects the actor.
Inheritance diagram
-
explicit CLerpAnimEffectInterval(std::string const &name, double duration, CLerpInterval::BlendType blend_type)
-
CLerpAnimEffectInterval(CLerpAnimEffectInterval const&) = default
-
void add_control(AnimControl *control, std::string const &name, float begin_effect, float end_effect)
Adds another
AnimControlto the list ofAnimControlsaffected by the lerp. This control will be lerped from begin_effect to end_effect over the period of the lerp.The
AnimControlname parameter is only used when formatting the interval for output.
-
static TypeHandle get_class_type(void)
-
explicit CLerpAnimEffectInterval(std::string const &name, double duration, CLerpInterval::BlendType blend_type)
