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

Append a filled convex polygon.

Namespace: org.critterai.u3d
Assembly: cai-util-u3d (in cai-util-u3d.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void ConvexPoly(
	Vector3[] verts,
	int vertCount,
	Color color
)
Public Shared Sub ConvexPoly ( _
	verts As Vector3(), _
	vertCount As Integer, _
	color As Color _
)
public:
static void ConvexPoly(
	array<Vector3>^ verts, 
	int vertCount, 
	Color color
)

Parameters

verts
array<Vector3>[]()[][]
The polygon vertices. [Length: >= vertCount]
vertCount
Int32
The number of vertices.
color
Color
The color of the polygon surface.

See Also