Home › Engine Lua tables › ForgeUI control types › ImageControl

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.

ImageControl

ForgeUI control type (ForgeUI::ImageControl). 27 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
ClearTextureChanged void ClearTextureChanged( void ) ImageControl:ClearTextureChanged() unique method name
FlipX void FlipX( bool ) ImageControl:FlipX(arg1: boolean) neighbouring methods in the code
FlipY void FlipY( bool ) ImageControl:FlipY(arg1: boolean) neighbouring methods in the code
GetTexture — ImageControl:GetTexture() neighbouring methods in the code
GetTextureName const char* GetTextureName( void ) ImageControl:GetTextureName() -> string unique method name
GetTextureSizeVal — ImageControl:GetTextureSizeVal() unique method name
HasTexture bool HasTexture( void ) const ImageControl:HasTexture() -> boolean unique method name
IsFlippedHorizontal bool IsFlippedHorizontal( void ) const ImageControl:IsFlippedHorizontal() -> boolean unique method name
IsTextureLoaded bool IsTextureLoaded( void ) ImageControl:IsTextureLoaded() -> boolean unique method name
RegisterTextureChanged void RegisterTextureChanged( function ) ImageControl:RegisterTextureChanged(arg1: function) unique method name
Resize void Resize( float, float ) ImageControl:Resize(arg1: number, arg2: number) neighbouring methods in the code
Rotate void Rotate( float ) ImageControl:Rotate(arg1: number) neighbouring methods in the code
Scale void Scale( float ) ImageControl:Scale(arg1: number) neighbouring methods in the code
SetIcon — ImageControl:SetIcon() unique method name
SetLinearColor void SetLinearColor( bool ) ImageControl:SetLinearColor(arg1: boolean) unique method name
SetMaskOffset void SetMaskOffset( FGXVector2 ) ImageControl:SetMaskOffset(arg1: FGXVector2) neighbouring methods in the code
SetMaskOffsetVal void SetMaskOffsetVal( float, float ) ImageControl:SetMaskOffsetVal(arg1: number, arg2: number) neighbouring methods in the code
SetMaskSize void SetMaskSize( FGXVector2 ) ImageControl:SetMaskSize(arg1: FGXVector2) neighbouring methods in the code
SetMaskSizeVal void SetMaskSizeVal( float, float ) ImageControl:SetMaskSizeVal(arg1: number, arg2: number) neighbouring methods in the code
SetMaskTexture — ImageControl:SetMaskTexture() neighbouring methods in the code
SetSizeVal void SetSizeVal( float, float ) ImageControl:SetSizeVal(arg1: number, arg2: number) neighbouring methods in the code
SetTexture — ImageControl:SetTexture() neighbouring methods in the code
SetTextureOffset void SetTextureOffset( FGXVector2 ) ImageControl:SetTextureOffset(arg1: FGXVector2) neighbouring methods in the code
SetTextureOffsetVal void SetTextureOffsetVal( float, float ) ImageControl:SetTextureOffsetVal(arg1: number, arg2: number) neighbouring methods in the code
SetTextureSizeVal void SetTextureSizeVal( float, float ) ImageControl:SetTextureSizeVal(arg1: number, arg2: number) neighbouring methods in the code
TrySetIcon — ImageControl:TrySetIcon() unique method name
UnloadTexture void UnloadTexture( void ) ImageControl:UnloadTexture() neighbouring methods in the code