14 #ifndef CHARACTERSLIDER_H 15 #define CHARACTERSLIDER_H 41 bool self_changed,
bool parent_changed,
55 return get_class_type();
57 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
63 static void init_type() {
64 MovingPartScalar::init_type();
66 MovingPartScalar::get_class_type());
Base class for objects that can be written to and read from Bam files.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Factory method to generate a MovingPartScalar object.
This is a specialization on VertexSlider that returns the slider value associated with a particular C...
This is a morph slider within the character.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
virtual bool update_internals(PartBundle *root, PartGroup *parent, bool self_changed, bool parent_changed, Thread *current_thread)
This is called by do_update() whenever the part or some ancestor has changed values.
This is a particular kind of MovingPart that accepts a scalar each frame.
A thread; that is, a lightweight process.
This is the root of a MovingPart hierarchy.
TypeHandle is the identifier used to differentiate C++ class types.
virtual PartGroup * make_copy() const
Allocates and returns a new copy of the node.
This is the base class for PartRoot and MovingPart.