L3DT documentation
Large 3D terrain generator



Set the map displayed in the main window of L3DT.

Function prototype

bool CExtAPI::view_ShowMap(const char* lpProjMapName);


Name Type Comment
lpProjMapName const char* A pointer to a C-style string that names the map to be displayed.

Return value

true, pretty much all the time.


Values of lpProjMapName

The following values of lpProjMapName are valid:

lpProjMapName Which map is it?
“DM” The design map.
“HF” The heightfield.
“WM” The water map.
“WS” The water salinity map.
“AM” The attributes map.
“TN” The terrain normals map.
“LM” The light map.
“TX” The texture map.

Function is asynchronous

view_ShowMap will return before the map is actually re-drawn. This is because L3DT draws the map in another thread.

zeolite/functions/view_showmap.txt · Last modified: 2017/08/31 07:09 (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