Skip to content

GetNormal

StormFX edited this page Dec 13, 2022 · 1 revision

Contents

The GetNormal method of Masque's API returns the Normal texture currently assigned to a button.

Example

-- 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 Normal texture 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.

Signature

{Normal} = {Masque}:GetNormal({Button})

Parameters

Parameter Type Required Description
Button table Yes The button object to retrieve the Normal texture from.

Returns

Return Type Description
Normal table The Normal 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

Clone this wiki locally