RSS

Воскресенье, 22.12.2024, 07:02
Главная » WoW API » API Виджеты » Текстура »

ULx, ULy, LLx, LLy, URx, URy, LRx, LRy = Texture:GetTexCoord()

[ править ]
Returns corner coordinates for scaling or cropping the texture image.
[клоны]
Returns corner coordinates for scaling or cropping the texture image. See Texture:SetTexCoord() example for details.


Signature:
Code
ULx, ULy, LLx, LLy, URx, URy, LRx, LRy = Texture:GetTexCoord()

Returns:
  • ULx - Upper left corner X position, as a fraction of the image's width from the left (number)
  • ULy - Upper left corner Y position, as a fraction of the image's height from the top (number)
  • LLx - Lower left corner X position, as a fraction of the image's width from the left (number)
  • LLy - Lower left corner Y position, as a fraction of the image's height from the top (number)
  • URx - Upper right corner X position, as a fraction of the image's width from the left (number)
  • URy - Upper right corner Y position, as a fraction of the image's height from the top (number)
  • LRx - Lower right corner X position, as a fraction of the image's width from the left (number)
  • LRy - Lower right corner Y position, as a fraction of the image's height from the top (number)

Также смотрите: Текстура
Ссылки: http://wowprogramming.com/docs/widgets/Texture/GetTexCoord