Creates a new rectangle.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XMaterialSprite AddRectangle( float x1, float y1, float z1, float x2, float y2, float z2, Color color ) |
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.
- color
- Type: System.Drawing..::.Color
Color Color of the primitive.