iimage

Contents

Name Description
getDimensions( )

Returns the dimensions of the image

getpixel( position )

Returns the color at a position in the image.

setpixel( position , color , shouldblend )

Sets the color of an image at a particular pixel.


getDimensions( )

Returns the dimensions of the image

Returns

Defined at client/lua_api/video/iimage.cpp:138


getpixel( vec2i position )

Returns the color at a position in the image.

Parameters
Returns

Defined at client/lua_api/video/iimage.cpp:122


setpixel( vec2i position , color color , boolean shouldblend )

Sets the color of an image at a particular pixel.

Parameters

Defined at client/lua_api/video/iimage.cpp:101