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

Checks the size of the buffers to see if they are large enough to hold the specified data.

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 bool CanFit(
	int vertCount,
	int triCount,
	int meshCount
)
Public Function CanFit ( _
	vertCount As Integer, _
	triCount As Integer, _
	meshCount As Integer _
) As Boolean
public:
bool CanFit(
	int vertCount, 
	int triCount, 
	int meshCount
)

Parameters

vertCount
Int32
The maximum vertices the object needs to hold.
triCount
Int32
The maximum triangles the object needs to hold.
meshCount
Int32
The maximum sub-meshes the object needs to hold.

Return Value

True if all buffers are large enough to fit the data.

See Also