Creates a new rectangle.

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

Syntax

C#
public XMaterialSprite AddRectangle(
	Vector3 start,
	Vector3 end,
	Texture texture
)

Parameters

start
Type: Vector3
Left lower corner.
end
Type: Vector3
Right upper corner.
texture
Type: Texture
The Texture texture on the object surface.

Return Value

Returns the created rectangle.

See Also