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

Creates an empty navigation mesh ready for tiles to be added.

Namespace: org.critterai.nav
Assembly: cai-nav (in cai-nav.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static NavStatus Create(
	NavmeshParams config,
	out Navmesh resultMesh
)
Public Shared Function Create ( _
	config As NavmeshParams, _
	<OutAttribute> ByRef resultMesh As Navmesh _
) As NavStatus
public:
static NavStatus Create(
	NavmeshParams^ config, 
	[OutAttribute] Navmesh^% resultMesh
)

Parameters

config
NavmeshParams
The mesh configuration.
resultMesh
Navmesh%
The result mesh.

Return Value

The NavStatus flags for the operation.

Remarks

This is the method used when creating new multi-tile meshes. Tiles are added using the AddTile(NavmeshTileData, UInt32, UInt32%) method.

See Also