ModelPartFlags

Description

[Flags]
enum Tinman.Engine.Models.ModelPartFlags

Enumeration of behaviour flags for IModelPart objects.

Public / Constants

None

public constant None → (0:int32)

No model part flags.

FrontFaces

public constant FrontFaces → (1:int32)

Front-facing triangles are visible.

BackFaces

public constant BackFaces → (2:int32)

Back-facing triangles are visible.

Transparent

public constant Transparent → (4:int32)

The model part is transparent.

VertexColorIsAlbedo

public constant VertexColorIsAlbedo → (8:int32)

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

VertexAlphaIsOcclusion

public constant VertexAlphaIsOcclusion → (16:int32)

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