Click or drag to resize
GLUtilsGLDrawRect Method (Vector3, Vector2, Single)
Draws a rectangle with the specified dimensions.

Namespace: Slash.Unity.Common.Utils
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
public static void GLDrawRect(
	Vector3 origin,
	Vector2 size,
	float lineThickness
)

Parameters

origin
Type: Vector3
Corner of the rectangle.
size
Type: Vector2
Width and height of the rectangle.
lineThickness
Type: SystemSingle
Extents of the outlines.
See Also