RSS

Среда, 24.04.2024, 06:43
Главная » WoW API » API Виджеты » Текстура »

desaturated = Texture:IsDesaturated()

[ править ]
Returns whether the texture image should be displayed with zero saturation (i.e. converted to grayscale)
[клоны]
Returns whether the texture image should be displayed with zero saturation (i.e. converted to grayscale). The texture may not actually be displayed in grayscale if the current display hardware doesn't support that feature; see Texture:SetDesaturated() for details.


Signature:
Code
desaturated = Texture:IsDesaturated()

Returns:
  • desaturated - 1 if the texture should be displayed in grayscale; otherwise nil (1nil)

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