14 #ifndef CLERPANIMEFFECTINTERVAL_H
15 #define CLERPANIMEFFECTINTERVAL_H
35 BlendType blend_type);
37 INLINE
void add_control(
AnimControl *control,
const std::string &name,
38 float begin_effect,
float end_effect);
42 virtual void output(std::ostream &out)
const;
47 INLINE ControlDef(
AnimControl *control,
const std::string &name,
48 float begin_effect,
float end_effect);
63 static void init_type() {
64 CLerpInterval::init_type();
66 CLerpInterval::get_class_type());
69 return get_class_type();
71 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Controls the timing of a character animation.
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 ...
The base class for a family of intervals that linearly interpolate one or more numeric values over ti...
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...