Creates a new triangle.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public XMaterialSprite AddTriangle( Vector3[] vertices, Color color, bool fill ) |
Parameters
- vertices
- Type: array<
Vector3
>[]()[]
Array of the Vector3 vectors specifying the object coordinates.
- color
- Type: System.Drawing..::.Color
Color Color of the primitive.
- fill
- Type: System..::.Boolean
Indicates whether the object is filled.