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

Creates a new marker.

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 AreaBoxMarker Create(
	string name,
	int priority,
	byte area,
	Vector3 boundsMin,
	Vector3 boundsMax
)
Public Shared Function Create ( _
	name As String, _
	priority As Integer, _
	area As Byte, _
	boundsMin As Vector3, _
	boundsMax As Vector3 _
) As AreaBoxMarker
public:
static AreaBoxMarker^ Create(
	String^ name, 
	int priority, 
	unsigned char area, 
	Vector3 boundsMin, 
	Vector3 boundsMax
)

Parameters

name
String
The processor name.
priority
Int32
The processor priority.
area
Byte
The area to apply.
boundsMin
Vector3
The mimimum world bounds of the area to mark.
boundsMax
Vector3
The maximum world bounds of the area to mark.

Return Value

A new marker, or null on error.

Remarks

Will return null if the bounds are invalid.

See Also