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

Clears all object data and resizes the buffers.

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 void Reset(
	int maxVerts,
	int maxTris,
	int maxMeshes
)
Public Sub Reset ( _
	maxVerts As Integer, _
	maxTris As Integer, _
	maxMeshes As Integer _
)
public:
void Reset(
	int maxVerts, 
	int maxTris, 
	int maxMeshes
)

Parameters

maxVerts
Int32
The maximum vertices the vertex buffer will hold. [Limit: >= 3]
maxTris
Int32
The maximum triangles the triangle buffer will hold. [Limit: > 0]
maxMeshes
Int32
The maximum sub-meshes the mesh buffer will hold. [Limit: > 0]

See Also