Go to the documentation of this file.
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.
This is the base class for PartRoot and MovingPart.
A class to retrieve the individual data elements previously stored in a Datagram.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
virtual PartGroup * make_copy() const
Allocates and returns a new copy of the node.
static void register_with_read_factory()
Factory method to generate a CharacterSlider object.
static WritableFactory * get_factory()
Returns the global WritableFactory for generating TypedWritable objects.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Base class for objects that can be written to and read from Bam files.
TypeHandle is the identifier used to differentiate C++ class types.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
This is a morph slider within the character.
static TypedWritable * make_CharacterSlider(const FactoryParams ¶ms)
Factory method to generate a CharacterSlider object.
This is a particular kind of MovingPart that accepts a scalar each frame.
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.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A thread; that is, a lightweight process.
void parse_params(const FactoryParams ¶ms, DatagramIterator &scan, BamReader *&manager)
Takes in a FactoryParams, passed from a WritableFactory into any TypedWritable's make function,...
This is the root of a MovingPart hierarchy.