TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

enum ModelPartFlags in Tinman.Engine.Models

Enumeration of behaviour flags for IModelPart objects.

[Flags]
enum ModelPartFlags  

Items

None = 0
FrontFaces = 0x01

Front-facing triangles are visible.

BackFaces = 0x02

Back-facing triangles are visible.

Transparent = 0x04

The model part is transparent.

VertexColorIsAlbedo = 0x08

The color channels (compressed sRGB) of the vertex colors (see Texture) shall be used to modulate the albedo.

VertexAlphaIsOcclusion = 0x10

The alpha channel of the vertex colors (see Texture) stores a linear ambient occlusion term, instead of transparency information.