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

Validates the mesh and areas.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public static bool IsValid(
	TriangleMesh mesh,
	byte[] areas
)
Public Shared Function IsValid ( _
	mesh As TriangleMesh, _
	areas As Byte() _
) As Boolean
public:
static bool IsValid(
	TriangleMesh^ mesh, 
	array<unsigned char>^ areas
)

Parameters

mesh
TriangleMesh
The mesh to validate.
areas
array<Byte>[]()[][]
The area to validate. (If non-null.)

Return Value

True if the structure and content of the parameters are considered valid.

Remarks

The areas parameter is validated only if it is non-null.

See Also