Home › Reflected data types › DecalDesc2

Engine executable. Settings and tools of the game program (CivilizationVI.exe), usable without a mod. Mostly undocumented debug and configuration functionality; descriptions come from analysis of the executable and have not all been tried in the running game.

Reflected types: DecalDesc2

Back to the overview.

Decal descriptions, version 2 (inferred).

DecalDesc2

Layout read from GetTypeInfo (0xb22ee0), size 108 bytes.

Offset Field Type
0 (0x0) nModelIndex uint32
4 (0x4) nIndexInModel uint32
8 (0x8) ePrimType uint32
12 (0xc) nStateVisibilityMask uint32
16 (0x10) fDecalPriority float
20 (0x14) kVertexAABB FGXRect
36 (0x24) kExactAABB FGXRect
52 (0x34) v2Centroid FGXVector2
60 (0x3c) nVBIndex uint32
64 (0x40) nIBIndex uint32
68 (0x44) nVertexStart uint32
72 (0x48) nIndexStart uint32
76 (0x4c) nIndices uint32
80 (0x50) nBaseColorTexIndex uint32
84 (0x54) nHeightmapTexIndex uint32
88 (0x58) nSpecTexIndex uint32
92 (0x5c) nFOWColorTexIndex uint32
96 (0x60) nFOWSpriteTexIndex uint32
100 (0x64) bBaseColorIsBigData bool
101 (0x65) bHeightmapIsBigData bool
102 (0x66) bSpecIsBigData bool
103 (0x67) bFOWColorIsBigData bool
104 (0x68) bFOWSpriteIsBigData bool