iguiimage
Contents
| Name | Description |
|---|---|
| setcolor( color ) | Set the color of the image |
| setimage( texture ) | Set the image of the element |
setcolor( color color )
Set the color of the image
Sets the color offset (additive color) for the image.
Parameters
-
color (color)
The color to set the image as
Defined at client/lua_api/gui/iguiimage.cpp:74
setimage( itexture texture )
Set the image of the element
Sets the image for the element. TODO: Memory leak of old images?
Parameters
-
texture (itexture)
The texture to set this image element to
Defined at client/lua_api/gui/iguiimage.cpp:91