Draw Material Simple

Draw Material Simple

Windows
MacOS
Linux

Draws a material-textured quad on the HUD. Assumes UVs such that the entire material is shown.

Target is HUD

Draw Material Simple
Target
Material
Select Asset
Screen X
0.0
Screen Y
0.0
Screen W
0.0
Screen H
0.0
Scale
1.000000
Scale Position

Inputs

In
Exec
Target
HUD Object Reference
Material
Material Interface Object Reference

Material to use

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).

Scale
Float

Amount to scale the entire texture (horizontally and vertically)

Scale Position
Boolean

Whether the "Scale" parameter should also scale the position of this draw call.

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