This is a node that contains a pointer to an AnimBundle. More...
Public Member Functions | |
AnimBundleNode (string name, AnimBundle bundle) | |
The AnimBundle and its node should be constructed together. | |
AnimBundle | getBundle () |
Static Public Member Functions | |
static AnimBundle | findAnimBundle (PandaNode root) |
Recursively walks the scene graph beginning at the indicated node (which need not be an AnimBundleNode), and returns the first AnimBundle found. | |
static TypeHandle | getClassType () |
This is a node that contains a pointer to an AnimBundle.
Like PartBundleNode, it exists solely to make it easy to store AnimBundles in the scene graph.
AnimBundleNode | ( | string | name, |
AnimBundle | bundle | ||
) |
The AnimBundle and its node should be constructed together.
Generally, the derived classes of AnimBundleNode will automatically create a AnimBundle of the appropriate type, and pass it up to this constructor.
static AnimBundle findAnimBundle | ( | PandaNode | root | ) | [static] |
Recursively walks the scene graph beginning at the indicated node (which need not be an AnimBundleNode), and returns the first AnimBundle found.
Returns NULL if no AnimBundle can be found.
AnimBundle getBundle | ( | ) |
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from PandaNode.