![]() |
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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.blp
- Returns texture coordinates into Interface\MINIMAP\OBJECTICONS.blp, the minimap blip texture.
Patch changes[]
Patch 5.4.0 (2013-09-10): Added.
