Draw Material

Draws a material-textured quad on the HUD.

Target is HUD

Draw Material
Target
Material
Select Asset
Screen X
0.0
Screen Y
0.0
Screen W
0.0
Screen H
0.0
Material U
0.0
Material V
0.0
Material UWidth
0.0
Material VHeight
0.0
Scale
1.000000
Scale Position
Rotation
0.000000
Rot Pivot
X0.0
Y0.0

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

Material U
Float

Texture-space U coordinate of upper left corner of the quad

Material V
Float

Texture-space V coordinate of upper left corner of the quad.

Material UWidth
Float

Texture-space width of the quad (in normalized UV distance).

Material VHeight
Float

Texture-space height of the quad (in normalized UV distance).

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.

Rotation
Float

Amount to rotate this quad

Rot Pivot
Vector 2D Structure

Location (as proportion of quad, 0-1) to rotate about

Outputs

Out
Exec