Home › Engine Lua tables › ForgeUI control types › TextOverlayLayer

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.

TextOverlayLayer

ForgeUI control type (TextOverlayLayer). 7 methods, called on an instance with a colon: Controls.SomeName:Method(...).

C++ base classes (from the exe RTTI, see engine classes): IOverlayLayer. Whether the Lua type also exposes the base class methods was not checked; the methods below are those registered on this type itself.

Method C++ signature printed by the exe Lua signature Owner basis
CreateRegionText — TextOverlayLayer:CreateRegionText() unique method name
CreateText — TextOverlayLayer:CreateText() unique method name
CreateTextAlongSpline — TextOverlayLayer:CreateTextAlongSpline() unique method name
CreateTextArc — TextOverlayLayer:CreateTextArc() unique method name
CreateTextAtPos — TextOverlayLayer:CreateTextAtPos() unique method name
GetTextLength — TextOverlayLayer:GetTextLength() unique method name
SetFontFamily void SetFontFamily( const char* ) TextOverlayLayer:SetFontFamily(arg1: string) unique method name