ItemTextGetMaterial

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Returns the material texture for the item text.

materialName = ItemTextGetMaterial()

Parameters

Returns

materialName
materialName
string - The name of the material touse for displaying the item text. If nil then the material is "Parchment".

Details

This is used one the ITEM_TEXT_READY event has been received for a page.
See FrameXML/ItemTextFrame.lua for examples of how the material is used to select a set of textures.