Vytvoří nový obdélník.

Jmenný prostor:  SGP.XSpace
Knihovna:  SGPRTL (v SGPRTL)
Verze: dll

Syntaxe

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

Parametry

start
Typ: Vector3
Levý dolní roh.
end
Typ: Vector3
Pravý horní roh.
texture
Typ: Texture
Textura Texture na povrchu objektu.

Návratová hodnota

Vrátí vytvořený obdélník.

Podívat se také na