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, float x3, float y3, float z3, float x4, float y4, float z4, Texture texture ) |
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.
- x4
- Type: System..::.Single
The 4. X coordinate of the object.
- y4
- Type: System..::.Single
The 4. Y coordinate of the object.
- z4
- Type: System..::.Single
The 4. Z coordinate of the object.
- texture
- Type: Texture
The Texture texture on the object surface.