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, bool fill ) |
Parameters
- a
- Type: Vector3
The 1. vertex coordinates.
- b
- Type: Vector3
The 2. vertex coordinates.
- c
- Type: Vector3
The 3. vertex coordinates.
- fill
- Type: System..::.Boolean
Indicates whether the object is filled.