Painting::DrawLines Adding Thickness Variable
I am using the DrawLines blueprint function, and would like to add the thickness variable to it.
I went into WidgetBlueprintLibrary and added the thickness variable to the header and the cpp file, see below.
Well - this did not expose the thickness variable to the blueprint node, so I tried to create my own function referencing the FSlateDrawElement::Make Lines.
However, I then got an "Unrecognized type FPaintContext - type must be a UCLASS, USTRUCT or UENUM" error.
I was hoping to use this exercise as a learning experience on how to edit or create my own blueprint nodes, but I feel this might be out of my depth. If it's an easy fix please let me know, else I'll just use the HUD DrawLines function instead. Thank you!
asked Nov 21 '17 at 04:46 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here