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

The Navmesh type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
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.
Finalize()()()()
Destructor
(Overrides Object..::..Finalize()()()().)
GetConfig()()()()
Returns the configuration parameters used to initialize the navigation mesh.
GetConnectionByRef(UInt32)
Gets an off-mesh connection.
GetConnectionEndpoints(UInt32, UInt32, Vector3%, Vector3%)
Gets the endpoints for an off-mesh connection, ordered by 'direction of travel'.
GetMaxTiles()()()()
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.
GetSerializedMesh()()()()
Gets a serialized version of the mesh.
GetTile(Int32)
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.
GetTileByRef(UInt32)
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.)
IsValidPolyRef(UInt32)
Indicates whether or not the specified polygon reference is valid.
RemoveTile(UInt32)
Removes the specified tile from the mesh.
RequestDisposal()()()()
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