Colobot
Public Attributes | List of all members
Gfx::ModelTriangle Struct Reference

A single triangle in mesh as saved in model file. More...

#include <model_triangle.h>

Inheritance diagram for Gfx::ModelTriangle:
Inheritance graph
[legend]

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.
 

Detailed Description

A single triangle in mesh as saved in model file.


The documentation for this struct was generated from the following file: