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