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

Loads the data from the mesh buffers into the data object.

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 PolyMeshData GetData(
	PolyMeshData buffer
)
Public Function GetData ( _
	buffer As PolyMeshData _
) As PolyMeshData
public:
PolyMeshData^ GetData(
	PolyMeshData^ buffer
)

Parameters

buffer
PolyMeshData
A buffer to load the data into.

Return Value

A reference to the mesh data.

Remarks

A new buffer will be returned if the buffer argument is null.

The buffer will be automatically resized if it is too small to hold the result.

Only the used portions of the mesh buffers are copied.

See Also