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

Loads the heightfield's CompactSpan data into the provided buffer.

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 bool GetSpanData(
	CompactSpan[] buffer
)
Public Function GetSpanData ( _
	buffer As CompactSpan() _
) As Boolean
public:
bool GetSpanData(
	array<CompactSpan>^ buffer
)

Parameters

buffer
array<CompactSpan>[]()[][]
The buffer to load the data into. [Size: >= SpanCount]

Return Value

True if the buffer was successfully loaded.

See Also