15 #ifndef MOVINGPARTSCALAR_H
16 #define MOVINGPARTSCALAR_H
18 #include "pandabase.h"
20 #include "movingPart.h"
21 #include "animChannel.h"
22 #include "animChannelFixed.h"
36 INLINE MovingPartScalar(
PartGroup *parent,
const string &name,
37 const PN_stdfloat &default_value = 0);
38 virtual ~MovingPartScalar();
40 virtual void get_blend_value(
const PartBundle *root);
46 INLINE MovingPartScalar();
55 return get_class_type();
57 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
63 static void init_type() {
66 register_type(_type_handle,
"MovingPartScalar",
74 #include "movingPartScalar.I"
A basic node of the scene graph or data graph.
Base class for objects that can be written to and read from Bam files.
This template class is a special kind of AnimChannel that always returns just one fixed value...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
virtual bool apply_control(PandaNode *node)
Specifies a node to influence this particular joint so that it will always hold the node's transform...
static void register_with_read_factory()
Factory method to generate a PartGroup object.
This is a particular kind of MovingPart that accepts a scalar each frame.
This is the root of a MovingPart hierarchy.
TypeHandle is the identifier used to differentiate C++ class types.
virtual bool apply_freeze_scalar(PN_stdfloat value)
Freezes this particular joint so that it will always hold the specified transform.
This is the base class for PartRoot and MovingPart.