L3DT documentation
Large 3D terrain generator



Initialise a map as a mosaic.

Function prototype

bool CExtAPI::map_InitMosaic(ZMAP hMap, long nx, long ny, long MapTypeID, float HorizScale, bool WrapFlag, const char* lpMosaicFileName, long TileSize, ZFORMAT hFormat, const char* lpProjMapName);


Name Type Comment
hMap ZMAP A ZMAP handle to the map variable that is to be initialised as a mosaic.
nx long The width of the map, in pixels.
ny long The height of the map, in pixels.
MapTypeID long The map type ID of the desired map type.
HorizScale float The pixel-spacing of the map, in metres.
WrapFlag bool A flag that states whether the east/west and north/south edges of the map 'wrap around' to give an infinitely tilable map.
lpMosaicFileName const char* A handle to a C-style string that contains the full path-name of the mosaic master file to be used by this map.
TileSize long The width and height of the tiles in the map.
hFormat ZFORMAT A ZFORMAT handle to the format variable to be used to load/save the mosaic.
lpProjMapName const char* A handle to a C-style string that contains the name of the map in the project (usually null). Please refer to project_GetMap for valid map names.

Return value

False if an error occurred, and true otherwise.



zeolite/functions/map_initmosaic.txt · Last modified: 2017/08/31 04:25 (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