GetShadow - SFX-WoW/Masque GitHub Wiki
The GetShadow
method of Masque's API returns the Shadow
texture currently assigned to a button.
-- Establish a reference to Masque.
local Masque = LibStub("Masque", true)
-- Get the Shadow texture.
local Shadow = Masque:GetShadow(Button)
{Shadow} = {Masque}:GetShadow({Button})
Parameter | Type | Required | Description |
---|---|---|---|
Button |
table | Yes | The button object to retrieve the Shadow texture from. |
Return | Type | Description |
---|---|---|
Shadow |
table | The Shadow texture object assigned to Button . |
8.2.5 80200
- Method added.