Panda3D
panda
src
chan
auto_bind.h
1
// Filename: auto_bind.h
2
// Created by: drose (23Feb99)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
#ifndef AUTO_BIND_H
16
#define AUTO_BIND_H
17
18
#include "pandabase.h"
19
20
#include "animControl.h"
21
#include "animControlCollection.h"
22
23
class
PandaNode
;
24
25
BEGIN_PUBLISH
26
////////////////////////////////////////////////////////////////////
27
// Function: auto_bind
28
// Description: Walks the scene graph or subgraph beginning at the
29
// indicated node, and attempts to bind any AnimBundles
30
// found to their matching PartBundles, when possible.
31
//
32
// The list of all resulting AnimControls created is
33
// filled into controls.
34
////////////////////////////////////////////////////////////////////
35
EXPCL_PANDA_CHAN
void
36
auto_bind(
PandaNode
*root_node,
AnimControlCollection
&controls,
37
int
hierarchy_match_flags = 0);
38
END_PUBLISH
39
40
#endif
41
PandaNode
A basic node of the scene graph or data graph.
Definition:
pandaNode.h:72
AnimControlCollection
This is a named collection of AnimControl pointers.
Definition:
animControlCollection.h:37
Generated on Wed May 17 2017 23:40:18 for Panda3D by
1.8.13