Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetObjectIconTextureCoords

Last wiki revision 2022-08-01

Returns texture coordinates of an object icon. left, right, top, bottom = GetObjectIconTextureCoords(objectIcon)

  • objectIcon: - index of the object icon to retrieve texture coordinates for, ascending from -2.
  • left: - left edge of the specified icon, 0 for the texture's left edge and 1 for the texture's right edge.
  • right: - right edge of the specified icon, 0 for the texture's left edge and 1 for the texture's right edge.
  • top: - top edge of the specified icon, 0 for the texture's top edge and 1 for the texture's bottom edge.
  • bottom: - bottom edge of the specified icon, 0 for the texture's top edge and 1 for the texture's bottom edge.
  • Returns texture coordinates into Interface\MINIMAP\OBJECTICONS.blp, the.

Source

https://warcraft.wiki.gg/wiki/API_GetObjectIconTextureCoords · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.