 | GLUtilsGLDrawRect Method (Vector3, Vector2) |
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
)
Public Shared Sub GLDrawRect (
origin As Vector3,
size As Vector2
)
public:
static void GLDrawRect(
Vector3 origin,
Vector2 size
)
static member GLDrawRect :
origin : Vector3 *
size : Vector2 -> unit
Parameters
- origin
- Type: Vector3
Corner of the rectangle. - size
- Type: Vector2
Width and height of the rectangle.
See Also