[This is preliminary documentation and is subject to change.]
Assembly: cai-nmgen (in cai-nmgen.dll) Version: 0.4.0.0 (0.4.0.0)
|C#||Visual Basic||Visual C++|
The context to use for the build.
The field to use for the build.(Must have region data.)
The maximum distance a simplified edge may deviate from the raw contour's vertices. [Limit: >= 0]
The maximum allowed length of a simplified edge. [Limit: >= 0]
The build flags.
Return ValueThe contour set, or null on failure.
The raw contours will match the region outlines exactly. The edgeMaxDeviation and maxEdgeLength parameters control how closely the simplified contours will match the raw contours.
Simplified contours are generated such that the vertices for portals between areas match up. (They are considered mandatory vertices.)
Setting maxEdgeLength to zero will disabled the feature.