Creates a new polygon.

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

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public XMeshSprite AddPolygon(
	float x,
	float y,
	float z,
	float height,
	float bevelX,
	float bevelZ,
	Color color,
	bool fill,
	ICollection points
)

Parameters

x
Type: System..::.Single
The X-coordinate.
y
Type: System..::.Single
The Y-coordinate.
z
Type: System..::.Single
The X-coordinate.
height
Type: System..::.Single
An object height.
bevelX
Type: System..::.Single
Bevel in X-axis.
bevelZ
Type: System..::.Single
Bevel in Z-axis.
color
Type: System.Drawing..::.Color
A Color.
fill
Type: System..::.Boolean
Whether the object will be filled.
points
Type: System.Collections..::.ICollection
Individual points of an object entered in order x1, y1, x2, y2 ...

Return Value

Returns the newly created ray.

See Also