Draw Rect

Draw Rect

Windows
MacOS
Linux

Draws a colored untextured quad on the HUD.

Target is HUD

Draw Rect
Target
Rect Color
Screen X
0.0
Screen Y
0.0
Screen W
0.0
Screen H
0.0

Inputs

In
Exec
Target
HUD Object Reference
Rect Color
Linear Color Structure

Color of the rect. Can be translucent.

Screen X
Float

Screen-space X coordinate of upper left corner of the quad.

Screen Y
Float

Screen-space Y coordinate of upper left corner of the quad.

Screen W
Float

Screen-space width of the quad (in pixels).

Screen H
Float

Screen-space height of the quad (in pixels).

Outputs

Out
Exec

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback