<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=UIElement.SetTextureOffset_%28Civ5_API%29</id>
	<title>UIElement.SetTextureOffset (Civ5 API) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=UIElement.SetTextureOffset_%28Civ5_API%29"/>
	<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=UIElement.SetTextureOffset_(Civ5_API)&amp;action=history"/>
	<updated>2026-04-19T06:53:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=UIElement.SetTextureOffset_(Civ5_API)&amp;diff=13480&amp;oldid=prev</id>
		<title>DonQuich: Bot update</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=UIElement.SetTextureOffset_(Civ5_API)&amp;diff=13480&amp;oldid=prev"/>
		<updated>2012-09-20T14:15:06Z</updated>

		<summary type="html">&lt;p&gt;Bot update&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&amp;#039;&amp;#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&amp;#039;&amp;#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This method is declared by {{Type5|AlphaAnim}}, {{Type5|Context}}, {{Type5|Grid}}, {{Type5|Image}}, {{Type5|ScrollAnim}} and {{Type5|Stack}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;void&amp;#039;&amp;#039;&amp;#039; UIElement:SetTextureOffset&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|Vector2}} questionOffset&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|questionOffset:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &amp;#039;&amp;#039;No description available.&amp;#039;&amp;#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&amp;#039;&amp;#039;Redundant occurences have been removed.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|CivilopediaScreen.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/Civilopedia/CivilopediaScreen.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1805}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;image:SetTextureOffset( textureOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|2081}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;thisBuildingInstance.UnlockedBuildingImage:SetTextureOffset( nullOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|2939}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;thisBuildingInstance.RequiredBuildingImage:SetTextureOffset( nullOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|3546}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;thisBuildingInstance.UniqueBuildingImage:SetTextureOffset( nullOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|3577}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;thisImprovementInstance.UniqueImprovementImage:SetTextureOffset( nullOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|EnemyUnitPanel.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/WorldView/EnemyUnitPanel.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0069}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.UnitIcon:SetTextureOffset( textureOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0070}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.UnitIconShadow:SetTextureOffset( textureOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0117}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.UnitPortrait:SetTextureOffset(textureOffset);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|EspionageOverview.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/UI/InGame/Popups/EspionageOverview.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0368}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.AgentRank:SetTextureOffset(rankOffsets[agent.Rank]);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0464}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.AgentActivityIcon:SetTextureOffset(progressBarState.IconOffset);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0544}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;agentEntry.AgentRank:SetTextureOffset(rankOffsets[v.Rank]);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0651}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;agentEntry.AgentActivityIcon:SetTextureOffset(progressBarState.IconOffset);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|FoRScenarioLoadScreen.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/FallOfRomeScenario/FoRScenarioLoadScreen.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0158}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.Icon:SetTextureOffset( questionOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0160}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.IconShadow:SetTextureOffset( questionOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0216}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.Icon:SetTextureOffset( textureOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0218}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.IconShadow:SetTextureOffset( textureOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0289}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.IconShadow:SetTextureOffset( questionOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|GameSetupScreen.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/FrontEnd/GameSetup/GameSetupScreen.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0512}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls[buttonName]:SetTextureOffset( questionOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|HallOfFame.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/HallOfFame.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0096}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.WinCivIcon:SetTextureOffset( textureOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0098}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.CivIconShadow:SetTextureOffset( textureOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|IconSupport.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/IconSupport.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0172}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iconControl:SetTextureOffset( textureOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|LoadMenu.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/FrontEnd/LoadMenu.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0274}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.CivIcon:SetTextureOffset(questionOffset);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0286}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.CivIcon:SetTextureOffset( textureOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0369}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.MapSize:SetTextureOffset( questionOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0382}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.Handicap:SetTextureOffset( questionOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0395}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.SpeedIcon:SetTextureOffset( questionOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0478}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.CivIcon:SetTextureOffset( questionOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0483}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.MapType:SetTextureOffset( questionOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ProductionPopup.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/ProductionPopup.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0916}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.ProductionButtonImage:SetTextureOffset(textureOffset);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|SelectCivilization.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/FrontEnd/GameSetup/SelectCivilization.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0096}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.CivIcon:SetTextureOffset( questionOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0128}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.CivIcon:SetTextureOffset( textureOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TechButtonInclude.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/TechTree/TechButtonInclude.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0353}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;thisButton:SetTextureOffset( textureOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TechTree.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/TechTree/TechTree.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0213}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;pipe.TechPipeIcon:SetTextureOffset(Vector2(72,72));&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0227}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;pipe.TechPipeIcon:SetTextureOffset(Vector2(72,0));&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0280}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;pipe.TechPipeIcon:SetTextureOffset(Vector2(0,72));&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0294}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;pipe.TechPipeIcon:SetTextureOffset(Vector2(0,0));&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|UnitPanel.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/WorldView/UnitPanel.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0444}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.UnitIcon:SetTextureOffset(textureOffset);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0445}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.UnitIconShadow:SetTextureOffset(textureOffset);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|VoteResultsPopup.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/VoteResultsPopup.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0059}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.Portrait:SetTextureOffset( questionOffset );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|SetTextureOffset]]&lt;/div&gt;</summary>
		<author><name>DonQuich</name></author>
	</entry>
</feed>