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

Constructs and initializes the structure.

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 NavmeshParams(
	Vector3 origin,
	float tileWidth,
	float tileDepth,
	int maxTiles,
	int maxPolysPerTile
)
Public Sub New ( _
	origin As Vector3, _
	tileWidth As Single, _
	tileDepth As Single, _
	maxTiles As Integer, _
	maxPolysPerTile As Integer _
)
public:
NavmeshParams(
	Vector3 origin, 
	float tileWidth, 
	float tileDepth, 
	int maxTiles, 
	int maxPolysPerTile
)

Parameters

origin
Vector3
The tile space origin.
tileWidth
Single
The width of each tile. (Along the x-axis.)
tileDepth
Single
The depth of each tile. (Along the z-axis.)
maxTiles
Int32
The maximum number of tiles the navigation mesh can contain.
maxPolysPerTile
Int32
The maximum number of polygons each tile can contain.

See Also