|
Colobot
|
A single triangle in mesh as saved in model file. More...
#include <model_triangle.h>

Public Attributes | |
| VertexTex2 | p1 |
| 1st vertex | |
| VertexTex2 | p2 |
| 2nd vertex | |
| VertexTex2 | p3 |
| 3rd vertex | |
| Color | diffuse |
| Diffuse color. | |
| Color | ambient |
| Ambient color. | |
| Color | specular |
| Specular color. | |
| std::string | tex1Name |
| Name of 1st texture. | |
| std::string | tex2Name |
| Name of 2nd texture. | |
| bool | variableTex2 = false |
| If true, 2nd texture will be taken from current engine setting. | |
| bool | doubleSided = false |
| Whether to render as double-sided surface. | |
| ModelTransparentMode | transparentMode = ModelTransparentMode::None |
| How to deal with texture transparency. | |
| ModelSpecialMark | specialMark = ModelSpecialMark::None |
| Special marking. | |
A single triangle in mesh as saved in model file.
1.8.9.1