wowpedia
Main Menu


Sets whether the texture should tile vertically.

TextureBase:SetVertTile([tiling])

Arguments

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

Details

Example

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

tex:SetVertTile(true)