SetItemButtonTextureVertexColor()

From Warcraft Wiki
Jump to navigation Jump to search
This function is implemented in FrameXML/ItemButtonTemplate.lua.

Sets the vertex color of the ItemButtons texture.

SetItemButtonTextureVertexColor(button, r, g, b);

Arguments

button
ItemButton - the ItemButton whose Texture should be changed.
r
Float - The value that should be applied for color red.
g
Float - The value that should be applied for color green.
b
Float - The value that should be applied for color blue.