WoW:API ItemTextGetMaterial: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(upgraded deprecated template)
Line 1: Line 1:
{{wowapi}}
<center>'''ItemTextGetMaterial''' - ''Documentation by [[User:Flickering|Flickering]]''</center>
<center>'''ItemTextGetMaterial''' - ''Documentation by [[User:Flickering|Flickering]]''</center>


Line 20: Line 21:
----
----
__NOTOC__
__NOTOC__
{{Template:WoW API}}

Revision as of 18:08, 6 January 2007

WoW API < ItemTextGetMaterial

ItemTextGetMaterial - Documentation by Flickering

Get the material which an item text is written on.

materialName = ItemTextGetMaterial()

Parameters

Arguments

()

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.