WoW:API Texture SetTexture: Difference between revisions

m
no edit summary
(Factual correction)
mNo edit summary
Line 3: Line 3:
==Arguments==
==Arguments==
:;filename
:;filename
::'''filename''' (String) Name of the texture image. Format: .blp or .tga, only power-of-two dimensions.
::'''filename''' (String) Name of the texture image.
:::Format: .blp or .tga, only power-of-two dimensions (16, 32, 64, 128, 256, and 512) with 256 colors (8 BPP (bits per pixel)) max.
::Sets the texture for the Texture object.
::Sets the texture for the Texture object.
:;red, green, blue
::'''red''' (Number, 0.0 to 1.0) Red component
::'''green''' (Number, 0.0 to 1.0) Green component
::'''blue''' (Number, 0.0 to 1.0) Blue component
::Sets the Texture to an opaque fill.
:;red, green, blue, alpha
:;red, green, blue, alpha
::'''red''' (Number, 0.0 to 1.0) Red component
::'''red''' (Number, 0.0 to 1.0) Red component
::'''green''' (Number, 0.0 to 1.0) Green component
::'''green''' (Number, 0.0 to 1.0) Green component
::'''blue''' (Number, 0.0 to 1.0) Blue component
::'''blue''' (Number, 0.0 to 1.0) Blue component
::'''alpha''' (Number, 0.0 to 1.0) Opacity
::'''alpha''' (Number, 0.0 to 1.0) Opacity (transparentcy)
::Sets the Texture to a semi-transparent fill.


==Description==
==Description==
Anonymous user