Creates new XPolygonMesh class instance with the polygon parameters and the XMaterial material.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
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.