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

Gets a serialized version of the mesh that can be used to recreate it later.

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 byte[] GetSerializedData(
	bool includeBuffer
)
Public Function GetSerializedData ( _
	includeBuffer As Boolean _
) As Byte()
public:
array<unsigned char>^ GetSerializedData(
	bool includeBuffer
)

Parameters

includeBuffer
Boolean
True if serialized data should include the full buffer size. Otherwise the unused portion of the buffers will removed and the smallest possible serialized data returned.

Return Value

A serialized version of the mesh.

See Also