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

Creates a polygon mesh from the data generated by the GetSerializedData(Boolean) method.

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 static PolyMesh Create(
	byte[] serializedMesh
)
Public Shared Function Create ( _
	serializedMesh As Byte() _
) As PolyMesh
public:
static PolyMesh^ Create(
	array<unsigned char>^ serializedMesh
)

Parameters

serializedMesh
array<Byte>[]()[][]
The serialized mesh data.

Return Value

The new polygon mesh, or null on error.

See Also