API TextureBase SetVertTile

Sets whether the texture should tile vertically.
 TextureBase:SetVertTile([tiling])
==Arguments==
:;tiling: - If true, texture coordinates will be adjusted such that each texture pixel takes up one vertical unit within the widget.
==Details==
* If the widget's height is smaller than the pixel height of the texture it displays, the texture will be cropped. The top left corner of the texture remains anchored to the top left corner of the widget.
* If the widget's height is greater than the pixel height of the texture it displays, the widget's vertical wrapping mode will determine the content of the pixels below the original texture. To repeat (i.e., tile) the texture, the "REPEAT" vertical wrapping mode should be specified when assigning the texture.
* The tiling mechanism adjusts texture coordinates at an arbitrary point during rendering, not necessarily as part of the or Texture:SetVertTile call. This overwrites the existing texture coordinates, and may occur more than once.
* This function does not behave correctly for most default icons (textures in Interface/ICONS).
==Example==
local tex = UIParent:CreateTexture()
tex:SetSize(64, 128)
tex:SetPoint("CENTER")
tex:SetTexture("Interface/ContainerFrame/UI-Icon-QuestBang", nil, "REPEAT")
tex:SetVertTile(true)
API_TextureBase_SetVertTile_01.png|UI-Icon-QuestBang repeated vertically|link=