Rectangle
Introduction
The Rectangle method draws a rectangle of a given size at the specified position and optional color.
Code Example: Drawing a Red Rectangle
float width = 64;
float height = 32;
Vector3 position = Vector3.Zero;
Color color = Color.Red;
EditorVisuals.Rectangle(width, height, position, color);
Last updated
Was this helpful?