Panda3D
fadeLodNodeData.cxx
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 fadeLodNodeData.cxx
10  * @author drose
11  * @date 2004-09-29
12  */
13 
14 #include "fadeLodNodeData.h"
15 
16 TypeHandle FadeLODNodeData::_type_handle;
17 
18 
19 /**
20  *
21  */
22 void FadeLODNodeData::
23 output(std::ostream &out) const {
24  AuxSceneData::output(out);
25  if (_fade_mode != FM_solid) {
26  out << " fading " << _fade_out << " to " << _fade_in << " since "
27  << _fade_start;
28  } else {
29  out << " showing " << _fade_in;
30  }
31 }
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:81
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.