Go to the documentation of this file.
14 #ifndef MOVINGPARTSCALAR_H
15 #define MOVINGPARTSCALAR_H
34 const PN_stdfloat &default_value = 0);
37 virtual void get_blend_value(
const PartBundle *root);
52 return get_class_type();
54 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
60 static void init_type() {
This is the base class for PartRoot and MovingPart.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
This template class is a special kind of AnimChannel that always returns just one fixed value.
Base class for objects that can be written to and read from Bam files.
static void register_with_read_factory()
Factory method to generate a PartGroup object.
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 particular kind of MovingPart that accepts a scalar each frame.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual bool apply_freeze_scalar(PN_stdfloat value)
Freezes this particular joint so that it will always hold the specified transform.
virtual bool apply_control(PandaNode *node)
Specifies a node to influence this particular joint so that it will always hold the node's transform.
A basic node of the scene graph or data graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the root of a MovingPart hierarchy.