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

Parameters

buffer
PolyMeshDetailData
A buffer to load the data into.

Return Value

A reference to the mesh data.

Remarks

If the buffer argument is null, a new buffer will be returned. If the buffer is too small it will be resized.

Only the used portions of the mesh buffers are copied.

See Also