Creates a new polygon.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public XPathSprite AddPolygon(
	Vector3[] vertices,
	Color color
)

Parameters

vertices
Type: array< Vector3 >[]()[]
Array of the Vector3 vectors specifying the object coordinates.
color
Type: System.Drawing..::.Color
Color Color of the primitive.

Return Value

Returns the newly created object.

See Also