Panda3D
vrmlAppearance.h
1 // Filename: vrmlAppearance.h
2 // Created by: drose (24Jun99)
3 //
4 ////////////////////////////////////////////////////////////////////
5 // PANDA 3D SOFTWARE
6 // Copyright (c) Carnegie Mellon University. All rights reserved.
7 //
8 // All use of this software is subject to the terms of the revised BSD
9 // license. You should have received a copy of this license along
10 // with this source code in a file named "LICENSE."
11 ////////////////////////////////////////////////////////////////////
12 
13 #ifndef VRMLAPPEARANCE_H
14 #define VRMLAPPEARANCE_H
15 
16 #include "pandatoolbase.h"
17 #include "eggTexture.h"
18 #include "pt_EggTexture.h"
19 
20 class VrmlNode;
21 
23 public:
24  VRMLAppearance(const VrmlNode *vrmlAppearance);
25 
26  bool _has_material;
27  LColor _color;
28  double _transparency;
29  PT_EggTexture _tex;
30 
31  bool _has_tex_transform;
32  LVecBase2d _tex_center;
33  double _tex_rotation;
34  LVecBase2d _tex_scale;
35  LVecBase2d _tex_translation;
36 };
37 
38 #endif
This is the base class for all two-component vectors and points.
Definition: lvecBase2.h:1257
This is the base class for all three-component vectors and points.
Definition: lvecBase4.h:111