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

Creates a new mapper.

Namespace: org.critterai.nmbuild
Assembly: cai-nmbuild (in cai-nmbuild.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static AreaFlagMapper Create(
	string name,
	int priority,
	byte[] areas,
	ushort[] flags
)
Public Shared Function Create ( _
	name As String, _
	priority As Integer, _
	areas As Byte(), _
	flags As UShort() _
) As AreaFlagMapper
public:
static AreaFlagMapper^ Create(
	String^ name, 
	int priority, 
	array<unsigned char>^ areas, 
	array<unsigned short>^ flags
)

Parameters

name
String
The processor name.
priority
Int32
The processor priority.
areas
array<Byte>[]()[][]
The areas check for.
flags
array<UInt16>[]()[][]
The flags to apply.

Return Value

A new marker, or null on error.

Remarks

Will return null if parameters are invalid. Must have at least one valid area/flag map.

See Also