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

The Navmesh type exposes the following methods.





 XNA Framework Only

 .NET Compact Framework Only

AddTile(NavmeshTileData, UInt32, UInt32%)
Adds a tile to the navigation mesh.
Create(array<Byte>[]()[][], Navmesh%)
Creates a navigation mesh from data obtained from the GetSerializedMesh()()()() method.
Create(NavmeshParams, Navmesh%)
Creates an empty navigation mesh ready for tiles to be added.
Create(NavmeshTileBuildData, Navmesh%)
Creates a single-tile navigation mesh.
DeriveTileLocation(Vector3, Int32%, Int32%)
Derives the tile grid location based on the provided world space position.
ExtractTileData(array<Byte>[]()[][], array<NavmeshTileExtract>[]()[][]%, NavmeshParams%)
Extracts the tile data from a serialized navigation mesh.
(Overrides Object..::..Finalize()()()().)
Returns the configuration parameters used to initialize the navigation mesh.
Gets an off-mesh connection.
GetConnectionEndpoints(UInt32, UInt32, Vector3%, Vector3%)
Gets the endpoints for an off-mesh connection, ordered by 'direction of travel'.
The maximum number of tiles supported by the navigation mesh.
GetObjectData(SerializationInfo, StreamingContext) Obsolete.
Gets serialization data for the object.
GetPolyArea(UInt32, Byte%)
Returns the area of the specified polygon.
GetPolyFlags(UInt32, UInt16%)
Returns the flags for the specified polygon.
Gets a serialized version of the mesh.
Gets a tile from the tile buffer.
GetTile(Int32, Int32, Int32)
Gets the tile at the specified grid location.
GetTileAndPoly(UInt32, NavmeshTile%, NavmeshPoly%)
Gets a polygon and its tile.
Gets a tile using its reference.
GetTileRef(Int32, Int32, Int32)
Gets the reference for the tile at the specified grid location.
GetTiles(Int32, Int32, array<NavmeshTile>[]()[][])
Gets all tiles at the specified grid location. (All layers.)
Indicates whether or not the specified polygon reference is valid.
Removes the specified tile from the mesh.
Request all resources controlled by the object be immediately freed and the object marked as disposed.
(Overrides ManagedObject..::..RequestDisposal()()()().)
SetPolyArea(UInt32, Byte)
Sets the area of the specified polygon.
SetPolyFlags(UInt32, UInt16)
Sets the flags for the specified polygon.

See Also