AnimBundleNode
from panda3d.core import AnimBundleNode
- class AnimBundleNode
Bases:
Bases:
PandaNode
This is a node that contains a pointer to an
AnimBundle
. LikePartBundleNode
, it exists solely to make it easy to storeAnimBundles
in the scene graph.Inheritance diagram
- __init__(name: str, bundle: AnimBundle)
The
AnimBundle
and its node should be constructed together. Generally, the derived classes ofAnimBundleNode
will automatically create aAnimBundle
of the appropriate type, and pass it up to this constructor.
- property bundle AnimBundle
- static find_anim_bundle(root: PandaNode) AnimBundle
Recursively walks the scene graph beginning at the indicated node (which need not be an
AnimBundleNode
), and returns the firstAnimBundle
found. Returns NULL if noAnimBundle
can be found.
- get_bundle() AnimBundle
- static get_class_type() TypeHandle