WoW:API Texture SetTexture: Difference between revisions

→‎Arguments: Max Dimensions increased to 1024
mNo edit summary
(→‎Arguments: Max Dimensions increased to 1024)
Line 4: Line 4:
:;filename
:;filename
::'''filename''' (String) Name of the texture image.
::'''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.
:::Format: .blp or .tga, only power-of-two dimensions (16, 32, 64, 128, 256, 512, and 1024) 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, alpha
:;red, green, blue, alpha
Line 10: Line 10:
::'''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 (transparentcy)
::'''alpha''' (Number, 0.0 to 1.0) Opacity (transparency)
 
 


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