14#ifndef CHARACTERJOINTBUNDLE_H
15#define CHARACTERJOINTBUNDLE_H
28class EXPCL_PANDA_CHAR CharacterJointBundle :
public PartBundle {
30 INLINE CharacterJointBundle(
const CharacterJointBundle ©);
33 explicit CharacterJointBundle(
const std::string &name =
"");
34 virtual ~CharacterJointBundle();
37 INLINE Character *
get_node(
int n)
const;
41 virtual void add_node(PartBundleNode *node);
42 virtual void remove_node(PartBundleNode *node);
45 void r_set_character(PartGroup *group, Character *character);
54 return get_class_type();
56 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
60 static void init_type() {
61 PartBundle::init_type();
63 PartBundle::get_class_type());
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static TypedWritable * make_CharacterJointBundle(const FactoryParams ¶ms)
Factory method to generate a CharacterJointBundle object.
An animated character, with skeleton-morph animation and either soft- skinned or hard-skinned vertice...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
static void register_with_read_factory()
Factory method to generate a PartBundle object.
get_node
Returns the nth PartBundleNode associated with this PartBundle.
virtual PartGroup * make_copy() const
Allocates and returns a new copy of the node.
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.
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(),...