Home › Engine Lua tables › ForgeUI control types › LineControl

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.

LineControl

ForgeUI control type (ForgeUI::LineControl). 16 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
GetEndX float GetEndX( void ) const LineControl:GetEndX() -> number unique method name
GetEndY float GetEndY( void ) const LineControl:GetEndY() -> number unique method name
GetStartX float GetStartX( void ) const LineControl:GetStartX() -> number neighbouring methods in the code
GetStartY float GetStartY( void ) const LineControl:GetStartY() -> number neighbouring methods in the code
GetWidth float GetWidth( void ) LineControl:GetWidth() -> number unique method name
SetColorAsNorm void SetColorAsNorm( float, float, float, float ) LineControl:SetColorAsNorm(arg1: number, arg2: number, arg3: number, arg4: number) unique method name
SetColorVal void SetColorVal( uint, uint, uint, uint ) LineControl:SetColorVal(arg1: integer, arg2: integer, arg3: integer, arg4: integer) neighbouring methods in the code
SetEndVal void SetEndVal( float, float ) LineControl:SetEndVal(arg1: number, arg2: number) neighbouring methods in the code
SetEndX void SetEndX( float ) LineControl:SetEndX(arg1: number) unique method name
SetEndY void SetEndY( float ) LineControl:SetEndY(arg1: number) unique method name
SetStartVal void SetStartVal( float, float ) LineControl:SetStartVal(arg1: number, arg2: number) unique method name
SetStartX void SetStartX( float ) LineControl:SetStartX(arg1: number) unique method name
SetStartY void SetStartY( float ) LineControl:SetStartY(arg1: number) unique method name
SetWidth void SetWidth( float ) LineControl:SetWidth(arg1: number) neighbouring methods in the code
SetWorldEndVal void SetWorldEndVal( float, float, float ) LineControl:SetWorldEndVal(arg1: number, arg2: number, arg3: number) unique method name
SetWorldStartVal void SetWorldStartVal( float, float, float ) LineControl:SetWorldStartVal(arg1: number, arg2: number, arg3: number) unique method name