-
-
Notifications
You must be signed in to change notification settings - Fork 11
GetGloss
StormFX edited this page Dec 13, 2022
·
1 revision
The GetGloss
method of Masque's API returns the Gloss
texture currently assigned to a button.
-- Establish a reference to Masque.
local Masque = LibStub("Masque", true)
-- Get the Gloss texture.
local Gloss = Masque:GetGloss(Button)
{Gloss} = {Masque}:GetGloss({Button})
Parameter | Type | Required | Description |
---|---|---|---|
Button |
table | Yes | The button object to retrieve the Gloss texture from. |
Return | Type | Description |
---|---|---|
Gloss |
table | The Gloss texture object assigned to Button . |
Wiki
• Home
Project
• Contributors
• History
Reference
⚬ Masque API
• API_VERSION
• AddSkin
• AddSpellAlert
• AddType
• GetBackdrop
• GetDefaultSkin
• GetGloss
• GetGroupByID
• GetNormal
• GetShadow
• GetSlotIcon
• GetSkin
• GetSkins
• GetSpellAlert
• Group
• Register
• SetEmpty
• UpdateCharge
• UpdateSpellAlert
⚬ Group API
⚬ Regions
Skins
• Skin List
Mirrors
• CurseForge
• Wago.io
• Wow Interface