Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

XML/TexCoords

Last wiki revision 2021-08-17

<TexCoords> (child of ) samples part of an image file, using either four edges or a <Rect> child element. &lt;TexCoords left="" right="" top="" bottom=""&gt; &lt;Rect ULx="" ULy="" LLx="" LLy="" URx="" URy="" LRx="" LRy="" /&gt; &lt;/TexCoords&gt;

  • left -Left edge, normalized from left (0) to right (1).
  • right - Right edge, normalized from left (0) to right (1).
  • top - Top edge, normalized from top (0) to bottom (1).
  • bottom - Bottom edge, normalized from top (0) to bottom (1).

<Rect> has eight attributes to define an affine transformation from arbitrary (non-right-angled) corners.

  • ULx - Upper-left, x coord, normalized from left (0) to right (1).
  • ULy - Upper-left, y coord, normalized from top (0) to bottom (1).
  • LLx - Lower-left, x coord, normalized from left (0) to right (1).
  • LLy - Lower-left, y coord, normalized from top (0) to bottom (1).
  • URx - Upper-right, x coord, normalized from left (0) to right (1).
  • URy - Upper-right, y coord, normalized from top (0) to bottom (1).
  • LRx - Lower-right, x coord, normalized from left (0) to right (1).
  • LRy - Lower-right, y coord, normalized from top (0) to bottom (1).

Source

https://warcraft.wiki.gg/wiki/XML/TexCoords · 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.