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

IsWithinMapBounds

Is this point within the bounds of the targetted BlockMap?

Definition:

bool IsWithinMapBounds(BlockMap map, int x, int y, int z)


Return value Description
bool True if the point falls within the populated bounds of the BlockMap, false if not.

Argument DataType Description
map BlockMap The BlockMap within which you wish to test the point.
x int The x position that you wish to test.
y     int The y position that you wish to test.
z int The z (depth) position that you wish to test.

Comments