Vytvoří nový obdélník.
Jmenný prostor:
SGP.XSpaceKnihovna: 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.