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

The NMGenParams type exposes the following properties.

Properties

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
BorderSize
The closest the mesh should come to the xz-plane AABB of the source geometry. [Limit: >=0] [Units: XZCellSize]
ContourOptions
Options to use when building the contour set.
DetailMaxDeviation
The maximum distance the mesh surface should deviate from the surface of the source geometry. (For height detail only.) [Limit: >=0] [Units: World]
DetailSampleDistance
Sets the sample distance to use when matching the detail mesh surface to the source geometry. (Height detail only.) [Limits: 0 or >= 0.9] [Units: World]
EdgeMaxDeviation
The maximum distance the edges of the mesh should deviate from the source geometry. [Limit: >=0] [Units: World]
MaxEdgeLength
The maximum allowed length for edges on the border of the mesh. [Limit: >=0] [Units: XZCellSize]
MaxVertsPerPoly
The maximum number of vertices allowed for polygons generated during the contour to polygon conversion process. [Limits: 3 <= value < MaxAllowedVertsPerPoly]
MergeRegionArea
Any regions with an cell count smaller than this value will, if possible, be merged with larger regions. [Limit: >=0] [Units: XZCellSize]
MinRegionArea
The minimum number of cells allowed to form isolated island meshes. [Limit: >=0] [Units: XZCellSize]
TileSize
The width/depth size of the tile on the xz-plane. [Limit: >=0] [Units: XZCellSize]
TileWorldSize
The tile size in world units.
UseMonotone
If true, use monotone region generation. Otherwise use watershed partitioning.
WalkableHeight
Minimum floor to 'ceiling' height that will still allow the floor area to be considered walkable. [Limit: >= MinWalkableHeight] [Units: YCellSize]
WalkableRadius
Represents the closest any part of a mesh should get to an obstruction in the source geometry. [Limit: >=0] [Units: XZCellSize]
WalkableSlope
The maximum slope that is considered walkable. [Limits: 0 <= value <= MaxAllowedSlope] [Units: Degrees]
WalkableStep
Maximum ledge height that is considered to be traversable. [Limit: >=0] [Units: YCellSize]
WorldMaxEdgeLength
The maximum edge length in world units.
WorldMergeRegionArea
The merge region area in world units.
WorldMinRegionArea
The minimum region area in world units.
WorldWalkableHeight
The walkable height in world units.
WorldWalkableRadius
The walkable radius in world units.
WorldWalkableStep
The walkable set in world units.
XZCellSize
The xz-plane voxel size to use when sampling the source geometry. [Limit: >= MinCellSize] [Units: World]
YCellSize
The y-axis voxel size to use when sampling the source geometry. [Limit >= MinCellSize]

See Also