 | GLUtilsGLDrawRect Method (Vector3, Vector2, Single) |
Draws a rectangle with the specified dimensions.
Namespace: Slash.Unity.Common.UtilsAssembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntaxpublic static void GLDrawRect(
Vector3 origin,
Vector2 size,
float lineThickness
)
Public Shared Sub GLDrawRect (
origin As Vector3,
size As Vector2,
lineThickness As Single
)
public:
static void GLDrawRect(
Vector3 origin,
Vector2 size,
float lineThickness
)
static member GLDrawRect :
origin : Vector3 *
size : Vector2 *
lineThickness : float32 -> unit
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