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

Loads the heightfield's area 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 GetAreaData(
	byte[] buffer
)
Public Function GetAreaData ( _
	buffer As Byte() _
) As Boolean
public:
bool GetAreaData(
	array<unsigned char>^ buffer
)

Parameters

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

Return Value

True if the buffer was successfully loaded.

Remarks

Each value represents the id of the area the span belongs to. The index is the same as for the span data. E.g. span[i], area[i]

See Also