[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 AreaConvexMarker Create(
	string name,
	int priority,
	byte area,
	Vector3[] verts,
	float ymin,
	float ymax
)
Public Shared Function Create ( _
	name As String, _
	priority As Integer, _
	area As Byte, _
	verts As Vector3(), _
	ymin As Single, _
	ymax As Single _
) As AreaConvexMarker
public:
static AreaConvexMarker^ Create(
	String^ name, 
	int priority, 
	unsigned char area, 
	array<Vector3>^ verts, 
	float ymin, 
	float ymax
)

Parameters

name
String
The processor name.
priority
Int32
The processor priority.
area
Byte
The area to apply.
verts
array<Vector3>[]()[][]
A list of vertices that form a convex polygon.
ymin
Single
The minimum y-axis world position.
ymax
Single
The maximum y-axis world position.

Return Value

A new marker, or null on error.

Remarks

Will return null on an invalid vertices array or invalid min/max values.

See Also