Panda3D
Loading...
Searching...
No Matches
auto_bind.h
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file auto_bind.h
10 * @author drose
11 * @date 1999-02-23
12 */
13
14#ifndef AUTO_BIND_H
15#define AUTO_BIND_H
16
17#include "pandabase.h"
18
19#include "animControl.h"
21
22class PandaNode;
23
24BEGIN_PUBLISH
25/**
26 * Walks the scene graph or subgraph beginning at the indicated node, and
27 * attempts to bind any AnimBundles found to their matching PartBundles, when
28 * possible.
29 *
30 * The list of all resulting AnimControls created is filled into controls.
31 */
32EXPCL_PANDA_CHAN void
33auto_bind(PandaNode *root_node, AnimControlCollection &controls,
34 int hierarchy_match_flags = 0);
35END_PUBLISH
36
37#endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
BEGIN_PUBLISH EXPCL_PANDA_CHAN void auto_bind(PandaNode *root_node, AnimControlCollection &controls, int hierarchy_match_flags=0)
Walks the scene graph or subgraph beginning at the indicated node, and attempts to bind any AnimBundl...
This is a named collection of AnimControl pointers.
A basic node of the scene graph or data graph.
Definition pandaNode.h:65
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.