Download

Correct way to draw textured/material lines in Slate/UMG?

I’m trying to implement some textured line charts in UMG/Slate. FSlateDrawElement::MakeLines seemed promising but it seems to only be able to draw basic coloured lines.

Is there a better way to draw textured lines in Slate/UMG?

FSlateDrawElement also allows you to draw quads, which I believe will take a Slate Brush (so you can apply texture/material etc. Lines don’t support that.