Panda3D
 All Classes Functions Variables Enumerations
characterJointEffect.I
1 // Filename: characterJointEffect.I
2 // Created by: drose (26Jul06)
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 
16 ////////////////////////////////////////////////////////////////////
17 // Function: CharacterJointEffect::Constructor
18 // Access: Private
19 // Description: Use CharacterJointEffect::make() to construct a new
20 // CharacterJointEffect object.
21 ////////////////////////////////////////////////////////////////////
22 INLINE CharacterJointEffect::
23 CharacterJointEffect() {
24 }
25 
26 ////////////////////////////////////////////////////////////////////
27 // Function: CharacterJointEffect::get_character
28 // Access: Published
29 // Description: Returns the Character that will get update() called
30 // on it when this node's relative transform is queried,
31 // or NULL if there is no such character.
32 ////////////////////////////////////////////////////////////////////
34 get_character() const {
35  if (_character.is_valid_pointer()) {
36  return _character;
37  } else {
38  return NULL;
39  }
40 }
An animated character, with skeleton-morph animation and either soft-skinned or hard-skinned vertices...
Definition: character.h:41
Character * get_character() const
Returns the Character that will get update() called on it when this node's relative transform is quer...