Panda3D
|
00001 // Filename: vrmlAppearance.h 00002 // Created by: drose (24Jun99) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // PANDA 3D SOFTWARE 00006 // Copyright (c) Carnegie Mellon University. All rights reserved. 00007 // 00008 // All use of this software is subject to the terms of the revised BSD 00009 // license. You should have received a copy of this license along 00010 // with this source code in a file named "LICENSE." 00011 //////////////////////////////////////////////////////////////////// 00012 00013 #ifndef VRMLAPPEARANCE_H 00014 #define VRMLAPPEARANCE_H 00015 00016 #include "pandatoolbase.h" 00017 #include "eggTexture.h" 00018 #include "pt_EggTexture.h" 00019 00020 class VrmlNode; 00021 00022 class VRMLAppearance { 00023 public: 00024 VRMLAppearance(const VrmlNode *vrmlAppearance); 00025 00026 bool _has_material; 00027 LColor _color; 00028 double _transparency; 00029 PT_EggTexture _tex; 00030 00031 bool _has_tex_transform; 00032 LVecBase2d _tex_center; 00033 double _tex_rotation; 00034 LVecBase2d _tex_scale; 00035 LVecBase2d _tex_translation; 00036 }; 00037 00038 #endif