00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
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