Creates a new rectangle.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public XMaterialSprite AddRectangle(
	Vector3 a,
	Vector3 b,
	Vector3 c,
	Vector3 d
)

Parameters

a
Type: Vector3
Coordinates of the vertex nr. 1.
b
Type: Vector3
Coordinates of the vertex nr. 2.
c
Type: Vector3
Coordinates of the vertex nr. 3.
d
Type: Vector3
Coordinates of the vertex nr. 4.

Return Value

Returns the created rectangle.

See Also