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

Constructor.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public PolyMeshData(
	int maxVerts,
	int maxPolys,
	int maxVertsPerPoly
)
Public Sub New ( _
	maxVerts As Integer, _
	maxPolys As Integer, _
	maxVertsPerPoly As Integer _
)
public:
PolyMeshData(
	int maxVerts, 
	int maxPolys, 
	int maxVertsPerPoly
)

Parameters

maxVerts
Int32
The maximum veritices the vertex buffer can hold. [Limit: >= 3]
maxPolys
Int32
The maximum polygons the polygon buffer can hold. [Limit: > 0]
maxVertsPerPoly
Int32
The maximum allowed vertices for a polygon. [Limits: 3 <= value <= MaxAllowedVertsPerPoly]

See Also