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

Creates an area buffer with all values set to the the specified area.

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 static byte[] CreateAreaBuffer(
	int size,
	byte area
)
Public Shared Function CreateAreaBuffer ( _
	size As Integer, _
	area As Byte _
) As Byte()
public:
static array<unsigned char>^ CreateAreaBuffer(
	int size, 
	unsigned char area
)

Parameters

size
Int32
The length of the buffer.
area
Byte
The area to assign to the buffer. (Will be auto-clamped.)

Return Value

A buffer with all values set to the specified area.

See Also