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

The closest the mesh should come to the xz-plane AABB of the source geometry. [Limit: >=0] [Units: XZCellSize]

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


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


The border size exists primarily to support multi-tile meshes and is usually set to zero for single-tile meshes.

Determining the exact value to use for multi-tile meshes can be tricky. It is best to set all the other parameters, then use DeriveBorderSize(NMGenParams) to get an initial value.

See Also