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

The minimum number of cells allowed to form isolated island meshes. [Limit: >=0] [Units: XZCellSize]

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


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


Prevents the formation of meshes that are too small to be of use.

If you really don't want or expect any island regions, then set this parameter to a high value. Otherwise the value will depend entirely on your needs.

In the example below, the value has been set too low, allowing the formation of small meshes on the top of obstructions.

Value: MinRegionArea

See Also