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

The NMGen type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
ClampArea(Byte)
Clamps the value to the valid area range. (0 <= value <= MaxArea)
ClampArea(Int32)
Clamps the value to the valid area range. (0 <= value <= MaxArea)
ClearUnwalkableTriangles(BuildContext, TriangleMesh, Single, array<Byte>[]()[][])
Set the area of all triangles with a slope above the specified value to NullArea.
CreateAreaBuffer(Int32, Byte)
Creates an area buffer with all values set to the the specified area.
CreateDefaultAreaBuffer(Int32)
Creates an area buffer with all values set to MaxArea.
DeriveSizeOfCellGrid(Vector3, Vector3, Single, Int32%, Int32%)
Derive the width and depth of a cell grid based on the provided parameters.
DeriveSizeOfTileGrid(Vector3, Vector3, Single, Int32, Int32%, Int32%)
Derives the width and depth of a tile grid based on the provided parameters.
ExtractTriMesh(PolyMeshDetail, array<Vector3>[]()[][]%, array<Int32>[]()[][]%)
Builds an aggregate triangle mesh from a detail mesh.
IsValidAreaBuffer(array<Byte>[]()[][], Int32)
Validates the content of an area buffer. (All areas are valid.)
MarkWalkableTriangles(BuildContext, TriangleMesh, Single, array<Byte>[]()[][])
Set the area of all triangles with a slope below the specified value to MaxArea.

See Also