Panda3D
Loading...
Searching...
No Matches
Typedefs | Functions
auto_bind.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "auto_bind.h"
#include "animBundleNode.h"
#include "partBundleNode.h"
#include "config_chan.h"
#include "string_utils.h"
#include "partGroup.h"

Go to the source code of this file.

Typedefs

typedef pset< AnimBundle * > AnimBundles
 
typedef pmap< string, AnimBundlesAnims
 
typedef pset< PartBundle * > PartBundles
 
typedef pmap< string, PartBundlesParts
 

Functions

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.
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
1999-02-23

Definition in file auto_bind.cxx.

Typedef Documentation

◆ AnimBundles

Definition at line 23 of file auto_bind.cxx.

◆ Anims

typedef pmap<string, AnimBundles> Anims

Definition at line 24 of file auto_bind.cxx.

◆ PartBundles

Definition at line 26 of file auto_bind.cxx.

◆ Parts

typedef pmap<string, PartBundles> Parts

Definition at line 27 of file auto_bind.cxx.

Function Documentation

◆ auto_bind()

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.

The list of all resulting AnimControls created is filled into controls.

Definition at line 123 of file auto_bind.cxx.

Referenced by WindowFramework::loop_animations().