Creates a new triangle.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XMaterialSprite AddTriangle( Vector3 a, Vector3 b, Vector3 c, Color color ) |
Parameters
- a
- Type: Vector3
The 1. vertex coordinates.
- b
- Type: Vector3
The 2. vertex coordinates.
- c
- Type: Vector3
The 3. vertex coordinates.
- color
- Type: System.Drawing..::.Color
Color Color of the primitive.