Draw Polygon

Draw Polygon

Windows
MacOS
Linux

Draws a polygon on the Canvas.

Target is Canvas

Draw Polygon
Target
Select Asset
Render Texture
Select Asset
Screen Position
X0.0
Y0.0
Radius
X1.000
Y1.000
Number Of Sides
3
Render Color

Inputs

In
Exec
Target
Canvas Object Reference
Render Texture
Texture Object Reference

Texture to use when rendering the triangles. If no texture is set, then the default white texture is used.

Screen Position
Vector 2D Structure

Screen space position to render the text.

Radius
Vector 2D Structure

How large in pixels this polygon should be.

Number Of Sides
Integer

How many sides this polygon should have. This should be above or equal to three.

Render Color
Linear Color Structure

Color to tint the polygon.

Outputs

Out
Exec
Select Skin
Light
Dark

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