00001 // Filename: fadeLodNodeData.cxx 00002 // Created by: drose (29Sep04) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #include "fadeLodNodeData.h" 00016 00017 TypeHandle FadeLODNodeData::_type_handle; 00018 00019 00020 //////////////////////////////////////////////////////////////////// 00021 // Function: FadeLODNodeData::output 00022 // Access: Public, Virtual 00023 // Description: 00024 //////////////////////////////////////////////////////////////////// 00025 void FadeLODNodeData:: 00026 output(ostream &out) const { 00027 AuxSceneData::output(out); 00028 if (_fade_mode != FM_solid) { 00029 out << " fading " << _fade_out << " to " << _fade_in << " since " 00030 << _fade_start; 00031 } else { 00032 out << " showing " << _fade_in; 00033 } 00034 }