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

Triangle of new model file version 1 and 2. More...

#include <model_io_structs.h>

Public Attributes

VertexTex2 p1
 1st vertex More...
 
VertexTex2 p2
 2nd vertex More...
 
VertexTex2 p3
 3rd vertex More...
 
Material material
 Material. More...
 
std::string tex1Name
 Name of 1st texture. More...
 
std::string tex2Name
 Name of 2nd texture. More...
 
bool variableTex2 = true
 If true, 2nd texture will be taken from current engine setting. More...
 
ModelLODLevel lodLevel = ModelLODLevel::Constant
 LOD level (only version 1) More...
 
int state = 0
 Rendering state to be set. More...
 

Detailed Description

Triangle of new model file version 1 and 2.

Member Data Documentation

VertexTex2 Gfx::ModelTriangleV1AndV2::p1

1st vertex

VertexTex2 Gfx::ModelTriangleV1AndV2::p2

2nd vertex

VertexTex2 Gfx::ModelTriangleV1AndV2::p3

3rd vertex

Material Gfx::ModelTriangleV1AndV2::material
std::string Gfx::ModelTriangleV1AndV2::tex1Name

Name of 1st texture.

std::string Gfx::ModelTriangleV1AndV2::tex2Name

Name of 2nd texture.

bool Gfx::ModelTriangleV1AndV2::variableTex2 = true

If true, 2nd texture will be taken from current engine setting.

ModelLODLevel Gfx::ModelTriangleV1AndV2::lodLevel = ModelLODLevel::Constant

LOD level (only version 1)

int Gfx::ModelTriangleV1AndV2::state = 0

Rendering state to be set.


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