wowpedia
Main Menu


Sets whether the texture should tile horizontally.

TextureBase:SetHorizTile([tiling])

Arguments

tiling
boolean? = false - If true, texture coordinates will be adjusted such that each texture pixel takes up one horizontal unit within the widget.

Details

Example

local tex = UIParent:CreateTexture()
tex:SetSize(128, 64)
tex:SetPoint("CENTER")
tex:SetTexture("Interface/ContainerFrame/UI-Icon-QuestBang", "MIRROR")

tex:SetHorizTile(true)