[This is preliminary documentation and is subject to change.]

The width/depth size of the tile on the xz-plane. [Limit: >=0] [Units: XZCellSize]

Namespace: org.critterai.nmgen
Assembly: cai-nmgen (in cai-nmgen.dll) Version: (


 C#  Visual Basic  Visual C++ 
public int TileSize { get; set; }
Public Property TileSize As Integer
property int TileSize {
	int get ();
	void set (int value);


A value of zero indicates non-tiled.

The tile size should usually be between 500 and 1000. A tile size that is too small can result in extra, unnecessary polygons and less than optimal pathfinding. A value that is too large can be result in memory and performance issues during the build process. In general, pick the largest size that also results in a good tile layout along the x and z axes. (You want to avoid creation of thin tiles along the upper bounds of the navigation mesh.)

See Also