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
C# |
---|
public XPolygonMesh( float height, float bevelX, float bevelZ, XMaterial material, params float[] points ) |
Parameters
- height
- Type: System..::.Single
An object height.
- bevelX
- Type: System..::.Single
Bevel in X-axis.
- bevelZ
- Type: System..::.Single
Bevel in Z-axis.
- material
- Type: SGP.XSpace..::.XMaterial
The XMaterial material used for the mesh rendering.
- points
- Type: array<
System..::.Single
>[]()[]
Individual points of an object entered in order x1, y1, x2, y2 ...