Creates a new polygon.
Namespace:
SGP.XSpaceAssembly: 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, 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.
- points
- Type: System.Collections..::.ICollection
Individual points of an object entered in order x1, y1, x2, y2 ...