WoW:API Texture GetTexCoord: Difference between revisions

no edit summary
(Created page with "{{widgetmethod}} Gets the texture coordinates of a texture. Texture coordinates change the region of, or distort, the drawn texture. local ULx,ULy,LLx,LLy,URx,URy,LRx,LRy =...")
 
No edit summary
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}}Gets the texture coordinates of a {{api|Texture|t=w}}.
Gets the texture coordinates of a {{api|Texture|t=w}}.


  local ULx,ULy,LLx,LLy,URx,URy,LRx,LRy = obj:SetTexCoord()
  local ULx,ULy,LLx,LLy,URx,URy,LRx,LRy = obj:GetTexCoord()


== Parameters ==
== Parameters ==
Line 10: Line 9:
=== Returns ===
=== Returns ===
:;ULx,ULy,LLx,LLy,URx,URy,LRx,LRy - number
:;ULx,ULy,LLx,LLy,URx,URy,LRx,LRy - number
:: point coordinates; top left corner of the image is (0, 0); bottom right corner  
:: point coordinates; top left corner of the image is (0, 0); bottom right corner


== Details ==
== Details ==
Anonymous user