#include "auto_bind.h"
#include "animBundleNode.h"
#include "partBundleNode.h"
#include "config_chan.h"
#include "string_utils.h"
Go to the source code of this file.
Typedefs | |
typedef pset< AnimBundleNode * > | AnimNodes |
typedef pmap< string, AnimNodes > | Anims |
typedef pset< PartBundleNode * > | PartNodes |
typedef pmap< string, PartNodes > | Parts |
Functions | |
void | bind_anims (const PartNodes &parts, const AnimNodes &anims, AnimControlCollection &controls, int hierarchy_match_flags) |
A support function for auto_bind(), below. | |
void | r_find_bundles (PandaNode *node, Anims &anims, Parts &parts) |
A support function for auto_bind(), below. | |
void | auto_bind (PandaNode *root_node, AnimControlCollection &controls, int hierarchy_match_flags) |
Walks the scene graph or subgraph beginning at the indicated node, and attempts to bind any AnimBundles found to their matching PartBundles, when possible. |
Definition in file auto_bind.cxx.
|
Definition at line 29 of file auto_bind.cxx. |
|
Definition at line 30 of file auto_bind.cxx. |
|
Definition at line 32 of file auto_bind.cxx. |
|
Definition at line 33 of file auto_bind.cxx. |
|
Walks the scene graph or subgraph beginning at the indicated node, and attempts to bind any AnimBundles found to their matching PartBundles, when possible. The list of all resulting AnimControls created is filled into controls. Definition at line 149 of file auto_bind.cxx. |
|
A support function for auto_bind(), below. Given a set of AnimBundles and a set of PartBundles that all share the same name, perform whatever bindings make sense. Definition at line 50 of file auto_bind.cxx. |
|
A support function for auto_bind(), below. Walks through the hierarchy and finds all of the PartBundles and AnimBundles. Definition at line 113 of file auto_bind.cxx. |