43 CharacterSlider(
PartGroup *parent,
const std::string &name)
52 nassertv(_vertex_sliders.empty());
76 VertexSliders::iterator vsi;
77 for (vsi = _vertex_sliders.begin(); vsi != _vertex_sliders.end(); ++vsi) {
78 (*vsi)->mark_modified(current_thread);
95 me->fillin(scan, manager);
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual PartGroup * make_copy() const
Allocates and returns a new copy of the node.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
static void register_with_read_factory()
Factory method to generate a CharacterSlider object.
static TypedWritable * make_CharacterSlider(const FactoryParams ¶ms)
Factory method to generate a CharacterSlider object.
Base class for objects that can be written to and read from Bam files.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a morph slider within the character.
void parse_params(const FactoryParams ¶ms, DatagramIterator &scan, BamReader *&manager)
Takes in a FactoryParams, passed from a WritableFactory into any TypedWritable's make function,...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_factory(TypeHandle handle, CreateFunc *func, void *user_data=nullptr)
Registers a new kind of thing the Factory will be able to create.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a particular kind of MovingPart that accepts a scalar each frame.
static WritableFactory * get_factory()
Returns the global WritableFactory for generating TypedWritable objects.
A thread; that is, a lightweight process.
This is the root of a MovingPart hierarchy.
A class to retrieve the individual data elements previously stored in a Datagram.
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.
This is the base class for PartRoot and MovingPart.