API ItemTextGetMaterial

104,545pages on
this wiki
Add New Page
Add New Page Talk0
WoW API < ItemTextGetMaterial

Get the material which an item text is written on.

materialName = ItemTextGetMaterial()

Parameters Edit

Arguments Edit


Returns Edit

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

Details Edit

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.

Also on Fandom

Random Wiki