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

The maximum distance the edges of the mesh should deviate from the source geometry. [Limit: >=0] [Units: World]

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 float EdgeMaxDeviation { get; set; }
Public Property EdgeMaxDeviation As Single
	Get
	Set
public:
property float EdgeMaxDeviation {
	float get ();
	void set (float value);
}

Remarks

The Douglas–Peucker algorithm is used when simplifying the borders of the mesh. This parameter effects how much simplification occurs. A higher number will result in more lost detail, but also fewer unnecessary polygons around the border. A good place to start is between 1.1 and 1.5. Low values, especially zero (no simplification), are not recommended since they can result in a large number of small triangles around the border.

Applies only to the xz-plane.

See Also