Tidy Tile Mapper‎ > ‎Runtime API‎ > ‎BlockUtilities‎ > ‎

GetMapLowerDepth

Returns the lowest depth (z-layer value in Blocks) of the targetted BlockMap.

Depth is an interesting thing, as maps can have negative depth (< 0) as well as positive depth (>= 0).

This is best demonstrated when you use the 'Add Layer' tool. It's turtles, all the way down!

Definition:

int GetMapLowerDepth(BlockMap map)


Return value Description
int The lowest depth that is currently populated in this BlockMap - measured in Blocks.

Argument DataType Description
map BlockMap     The BlockMap from which to retrieve the lowest depth.

Comments