Creates a new triangle.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XMaterialSprite AddTriangle( float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3 ) |
Parameters
- x1
- Type: System..::.Single
The 1. X coordinate of the object.
- y1
- Type: System..::.Single
The 1. Y coordinate of the object.
- z1
- Type: System..::.Single
The 1. Z coordinate of the object.
- x2
- Type: System..::.Single
The 2. X coordinate of the object.
- y2
- Type: System..::.Single
The 2. Y coordinate of the object.
- z2
- Type: System..::.Single
The 2. Z coordinate of the object.
- x3
- Type: System..::.Single
The 3. X coordinate of the object.
- y3
- Type: System..::.Single
The 3. Y coordinate of the object.
- z3
- Type: System..::.Single
The 3. Z coordinate of the object.