15 #ifndef CLERPANIMEFFECTINTERVAL_H
16 #define CLERPANIMEFFECTINTERVAL_H
18 #include "directbase.h"
19 #include "cLerpInterval.h"
20 #include "animControl.h"
21 #include "pointerTo.h"
38 BlendType blend_type);
40 INLINE
void add_control(
AnimControl *control,
const string &name,
41 float begin_effect,
float end_effect);
45 virtual void output(ostream &out)
const;
50 INLINE ControlDef(
AnimControl *control,
const string &name,
51 float begin_effect,
float end_effect);
66 static void init_type() {
67 CLerpInterval::init_type();
68 register_type(_type_handle,
"CLerpAnimEffectInterval",
69 CLerpInterval::get_class_type());
72 return get_class_type();
74 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
80 #include "cLerpAnimEffectInterval.I"
virtual void priv_step(double t)
Advances the time on the interval.
This interval lerps between different amounts of control effects for various AnimControls that might ...
Controls the timing of a character animation.
TypeHandle is the identifier used to differentiate C++ class types.
The base class for a family of intervals that linearly interpolate one or more numeric values over ti...