Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Applies a mask to the texture.

TextureBase:SetMask(file)

Arguments[]

file
string

Example[]

Applies a hexagon texture mask (HotS icon) to a texture.[1]

local tex = UIParent:CreateTexture()
tex:SetPoint("CENTER")
tex:SetTexture("Interface/Icons/Ability_Ambush")

tex:SetMask("Interface/ChatFrame/UI-ChatIcon-HotS")

Patch changes[]

Warlords of Draenor Patch 6.0.2 (2014-10-14): Added.

References[]

  1. ^ Resike 2016-02-29. Texture:SetMask().
Advertisement