Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia

Returns texture coordinates of an object icon.

left, right, top, bottom = GetObjectIconTextureCoords(objectIcon)

Arguments[]

objectIcon
number - index of the object icon to retrieve texture coordinates for, ascending from -2.

Returns[]

left
number - left edge of the specified icon, 0 for the texture's left edge and 1 for the texture's right edge.
right
number - right edge of the specified icon, 0 for the texture's left edge and 1 for the texture's right edge.
top
number - top edge of the specified icon, 0 for the texture's top edge and 1 for the texture's bottom edge.
bottom
number - bottom edge of the specified icon, 0 for the texture's top edge and 1 for the texture's bottom edge.

Details[]

OBJECTICONS

OBJECTICONS.blp

Patch changes[]

Mists of Pandaria Patch 5.4.0 (2013-09-10): Added.