How to Canvas over SlateBrush?
I have a SlateBrush image of a character, and bellow a bar with the characters's health bar. I am basing the health bar on StrategyGame health bars, so I have tried using the FCanvasTileItem too, but it's rendered below the character image.
Any idea what I can do to make the FCanvasTileItem render over the SlateBrush?
This in HUD.h did it (using UE4.6.1)
answered Jan 28 '15 at 07:51 AM
I encountered this issue of Slate always rendering on top of Canvas stuff as well
my only solution was to move everything over to Slate
Then check out GameViewportClient.h, you can specify the order of Slate widgets when attaching them to the viewport!
Adding widget to viewport
Follow this question
Once you sign in you will be able to subscribe for any updates here