Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Rotates a texture based on the direction the player is currently facing.
UpdateWorldMapArrow(arrowFrame)
Arguments[]
- arrowFrame
- Widget - any Texture widget, although
Interface\Minimap\MinimapArrow
is the intended texture.
Details[]
- This function applies a Texture:SetTexCoord transformation rotating the texture.
- The transformation ensures that the visible portion of the original texture remains of a consistent size. This size is slightly smaller than the original (unrotated) texture.
Patch changes[]
Patch 5.2.0 (2013-03-05): Added.