API GetObjectIconTextureCoords

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

 * Returns texture coordinates into Interface\MINIMAP\OBJECTICONS.blp, the.