Creates new XPolygonMesh class instance with the polygon parameters and the XMaterial material.

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

Syntax

C#
public XPolygonMesh(
	float length,
	int sides,
	XMaterial material
)

Parameters

length
Type: System..::.Single
Polygon edge length.
sides
Type: System..::.Int32
Polygon sides count.
material
Type: SGP.XSpace..::.XMaterial
The XMaterial material used for the mesh rendering.

See Also