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

Creates a new navigation mesh query based on the provided navigation mesh.

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(
	Navmesh navmesh,
	int maximumNodes,
	out NavmeshQuery resultQuery
)
Public Shared Function Create ( _
	navmesh As Navmesh, _
	maximumNodes As Integer, _
	<OutAttribute> ByRef resultQuery As NavmeshQuery _
) As NavStatus
public:
static NavStatus Create(
	Navmesh^ navmesh, 
	int maximumNodes, 
	[OutAttribute] NavmeshQuery^% resultQuery
)

Parameters

navmesh
Navmesh
A navigation mesh to query against.
maximumNodes
Int32
The maximum number of nodes allowed when performing A* and Dijkstra searches.
resultQuery
NavmeshQuery%
A navigation mesh query object.

Return Value

The NavStatus flags for the build request.

See Also