L3DT documentation
Large 3D terrain generator

map_GetMosaicTile

Description

Retrieve a mosaic tile handle.

Function prototype

void* CExtAPI::map_GetMosaicTile(ZMAP hMap, long tx, long ty);

Arguments

Name Type Comment
hMap ZMAP A handle to a map, a tile of which is to be retrieved.
tx long The x-coordinate of the tile.
ty long The y-coordinate of the tile.

Return value

A null handle if:

  • The map is not a mosaic.
  • The tile coordinates are invalid.
  • An unspecified error occurred.

A valid (non-null) tile handle otherwise.

Comments

The handle returned by map_GetMosaicTile is not a handle to the raw memory buffer of the tile. Use tile_GetDataPtr for this.

 
zeolite/functions/map_getmosaictile.txt · Last modified: 2017/08/31 06:53 (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