GetNormal - SFX-WoW/Masque GitHub Wiki
The GetNormal method of Masque's API returns the Normal texture currently assigned to a button.
-- Establish a reference to Masque.
local Masque = LibStub("Masque", true)
-- Get the Normal texture.
local Normal = Masque:GetNormal(Button)Notes
- In most cases, Masque creates a new
Normaltexture object to bypass some of the game's built-in button state changes. This method will allow access to the texture object that's currently in use by Masque.
{Normal} = {Masque}:GetNormal({Button})| Parameter | Type | Required | Description |
|---|---|---|---|
Button |
table | Yes | The button object to retrieve the Normal texture from. |
| Return | Type | Description |
|---|---|---|
Normal |
table | The Normal texture object assigned to Button. |