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

Constructor. (No off-mesh connections.)

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 NavmeshTileBuildData(
	int maxPolyVerts,
	int maxPolys,
	int maxVertsPerPoly,
	int maxDetailVerts,
	int maxDetailTris
)
Public Sub New ( _
	maxPolyVerts As Integer, _
	maxPolys As Integer, _
	maxVertsPerPoly As Integer, _
	maxDetailVerts As Integer, _
	maxDetailTris As Integer _
)
public:
NavmeshTileBuildData(
	int maxPolyVerts, 
	int maxPolys, 
	int maxVertsPerPoly, 
	int maxDetailVerts, 
	int maxDetailTris
)

Parameters

maxPolyVerts
Int32
The maximum allowed polygon vertices.
maxPolys
Int32
The maximum allowed polygons.
maxVertsPerPoly
Int32
The maximum vertices per polygon.
maxDetailVerts
Int32
The maximum allowed detail vertices.
maxDetailTris
Int32
The maximum allowed detail vetices.

Remarks

If invalid parameter values are supplied the resulting object will not be usable. (Buffers won't be initialized, all maximum size values set to zero.)

See Also