Struct TileLayout
Represents the position and size of a tile grid for a recast/navmesh graph.
This separates out the physical layout of tiles from all the other recast graph settings.
Public Methods
Returns an XZ bounds object with the bounds of a group of tiles in graph space.
Returns a rect containing the indices of all tiles touching the specified bounds.
Returns a rect containing the indices of all tiles touching the specified bounds.
Public Variables
Voxel y coordinates will be stored as ushorts which have 65536 values.
Size of a tile in world units, along the graph's X axis.
Size of a tile in world units, along the graph's Z axis.
Voxel sample size (x,z).
Size in graph space of the whole grid.
How many tiles there are in the grid.
Size of a tile in voxels along the X and Z axes.
Transforms coordinates from graph space to world space.
 The cell size is the width and depth of those boxes. The height of the boxes is usually much smaller and automatically calculated, however.