Creates a new rectangle.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XMaterialSprite AddRectangle( Vector3 start, Vector3 end, bool fill ) |
Parameters
- start
- Type: Vector3
Upper left vertex coordinates.
- end
- Type: Vector3
Lower right vertex coordinates.
- fill
- Type: System..::.Boolean
Indicates whether the object is filled.