Panda3D
characterJointBundle.I
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 characterJointBundle.I
10  * @author drose
11  * @date 1999-03-02
12  */
13 
14 // This comment tells ppremake that we know this is a circular #include
15 // reference, and please don't bother us about it. The line must be exactly
16 // as shown.
17 /* okcircular */
18 #include "character.h"
19 
20 /**
21  * Normally, you'd use make_copy() or copy_subgraph() to make a copy of this.
22  */
23 INLINE CharacterJointBundle::
24 CharacterJointBundle(const CharacterJointBundle &copy) :
25  PartBundle(copy)
26 {
27 }
28 
29 /**
30  * Returns the nth Character associated with this PartBundle.
31  */
33 get_node(int n) const {
34  return DCAST(Character, PartBundle::get_node(n));
35 }
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The collection of all the joints and sliders in the character.
An animated character, with skeleton-morph animation and either soft- skinned or hard-skinned vertice...
Definition: character.h:38
This is the root of a MovingPart hierarchy.
Definition: partBundle.h:46
get_node
Returns the nth PartBundleNode associated with this PartBundle.
Definition: partBundle.h:114
Character * get_node(int n) const
Returns the nth Character associated with this PartBundle.