Panda3D
vrmlAppearance.h
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 vrmlAppearance.h
10  * @author drose
11  * @date 1999-06-24
12  */
13 
14 #ifndef VRMLAPPEARANCE_H
15 #define VRMLAPPEARANCE_H
16 
17 #include "pandatoolbase.h"
18 #include "eggTexture.h"
19 #include "pt_EggTexture.h"
20 
21 class VrmlNode;
22 
24 public:
25  VRMLAppearance(const VrmlNode *vrmlAppearance);
26 
27  bool _has_material;
28  LColor _color;
29  double _transparency;
30  PT_EggTexture _tex;
31 
32  bool _has_tex_transform;
33  LVecBase2d _tex_center;
34  double _tex_rotation;
35  LVecBase2d _tex_scale;
36  LVecBase2d _tex_translation;
37 };
38 
39 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.