L3DT documentation
Large 3D terrain generator

map_SetPixel

Description

Set the value of a pixel in a map.

Function prototype

bool CExtAPI::map_SetPixel(ZMAP hMap, long x, long y, void* pValue);

Arguments

Name Type Comment
hMap ZMAP A ZMAP handle to a map, the pixel of which is to be set.
x long The x-coordinate of the pixel.
y long The y-coordinate of the pixel.
pValue void* A pointer (of unknown type) to the user-supplied entity that shall provide the pixel value.

Return value

False if an error occurred, and true otherwise.

Comments

None.

Example

Please refer to example given for CExtAPI::map_GetPixel.

 
zeolite/functions/map_setpixel.txt · Last modified: 2013/08/21 17:20 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki