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

The maximum allowed length for edges on the border of the mesh. [Limit: >=0] [Units: XZCellSize]

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

Syntax

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

Remarks

Sometimes the build process can result in long thin triangles along the the mesh border. This parameters is used during the contour build process to add extra border vertices to prevent this from happening.

Start with a maximum edge length of zero (disabled). If you see a problem, then start with (WalkableRadius * 8) and adjust from there.

See Also