Wowpedia

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

READ MORE

Wowpedia
Advertisement

Sets the desaturation level of the texture.

TextureBase:SetDesaturation(desaturation)

Arguments[]

desaturation
number [0.0 - 1.0] - The desaturation level.

Example[]

local tex = UIParent:CreateTexture()
tex:SetPoint("CENTER")
tex:SetTexture("interface/icons/inv_mushroom_11")

tex:SetDesaturation(1)
Advertisement