Loading...
Searching...
No Matches
Gfx::ModelTriangleV3 Struct Reference

Mesh triangle saved in new model file version 3. More...

`#include <src/graphics/model/model_io_structs.h>`

Inheritance diagram for Gfx::ModelTriangleV3:
[legend]

## Additional Inherited Members

Public Attributes inherited from Gfx::ModelTriangle
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

Mesh triangle saved in new model file version 3.

NOTE: this is newest version, always same as ModelTriangle struct.

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

- src/graphics/model/model_io_structs.h