RSS

Пятница, 29.03.2024, 02:52
Главная » WoW API » API Виджеты » Текстура »

red, green, blue, alpha = Texture:GetVertexColor()

[ править ]
Returns the shading color of the texture.
[клоны]
Returns the shading color of the texture. For details about vertex color shading, see LayeredRegion:SetVertexColor().


Signature:
Code
red, green, blue, alpha = Texture:GetVertexColor()

Returns:
  • red - Red component of the color (0.0 - 1.0) (number)
  • green - Green component of the color (0.0 - 1.0) (number)
  • blue - Blue component of the color (0.0 - 1.0) (number)
  • alpha - Alpha (opacity) for the texture (0.0 = fully transparent, 1.0 = fully opaque) (number)

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