Home › Engine Lua tables › ForgeUI control types › MeterControl

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.

MeterControl

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

C++ base classes (from the exe RTTI, see engine classes): ForgeUI::ControlBase. 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
GetTexture — MeterControl:GetTexture() neighbouring methods in the code
RegisterEndCallback void RegisterEndCallback( function ) MeterControl:RegisterEndCallback(arg1: function) neighbouring methods in the code
SetAnimationSpeed void SetAnimationSpeed( float ) MeterControl:SetAnimationSpeed(arg1: number) neighbouring methods in the code
SetCounterClockwise void SetCounterClockwise( bool ) MeterControl:SetCounterClockwise(arg1: boolean) unique method name
SetFollow void SetFollow( bool ) MeterControl:SetFollow(arg1: boolean) unique method name
SetPercent void SetPercent( float ) MeterControl:SetPercent(arg1: number) neighbouring methods in the code
SetPercents void SetPercents( float, float ) MeterControl:SetPercents(arg1: number, arg2: number) neighbouring methods in the code
SetShadowColor void SetShadowColor( uint ) MeterControl:SetShadowColor(arg1: integer) neighbouring methods in the code
SetShadowPercent void SetShadowPercent( float ) MeterControl:SetShadowPercent(arg1: number) neighbouring methods in the code
SetTexture — MeterControl:SetTexture() neighbouring methods in the code