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

Constructor.

Namespace: org.critterai.geom
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public TriangleMesh(
	int maxVerts,
	int maxTris
)
Public Sub New ( _
	maxVerts As Integer, _
	maxTris As Integer _
)
public:
TriangleMesh(
	int maxVerts, 
	int maxTris
)

Parameters

maxVerts
Int32
The maximum number of vertices the verts buffer needs to hold. [Limit: >= 3]
maxTris
Int32
The maximum number of triangles the tris buffer needs to hold. [Limit: >= 1]

See Also