AnimBundleNode
-
class AnimBundleNode
Bases:
PandaNodeThis is a node that contains a pointer to an
AnimBundle. LikePartBundleNode, it exists solely to make it easy to storeAnimBundlesin the scene graph.Inheritance diagram
-
explicit AnimBundleNode(std::string const &name, AnimBundle *bundle)
The
AnimBundleand its node should be constructed together. Generally, the derived classes ofAnimBundleNodewill automatically create aAnimBundleof the appropriate type, and pass it up to this constructor.For internal use only.
Use
make_copy()orcopy_subgraph()to copy one of these.
-
static AnimBundle *find_anim_bundle(PandaNode *root)
Recursively walks the scene graph beginning at the indicated node (which need not be an
AnimBundleNode), and returns the firstAnimBundlefound. Returns NULL if noAnimBundlecan be found.
-
AnimBundle *get_bundle(void) const
-
static TypeHandle get_class_type(void)
-
explicit AnimBundleNode(std::string const &name, AnimBundle *bundle)
