I’m wondering whether it’s possible to mask a texture with canvas. By that I don’t mean just using the alpha-channel, but for example cutting a texture in half at runtime. It doesn’t look too great for a healthbar, when I just scale it up and down. That’s how I currently draw my textures:
FCanvasTileItem TileItem(Position, Texture, Size, FColor::White);
TileItem.BlendMode = SE_BLEND_Translucent;
Now if, for example, I wanted to cut off parts of my texture, how would I do this? Somehow by changing the BlendMode to something? Apparently there is SE_BLEND_Masked. Not sure how I would specify what to mask though (Apart from the color I specify when creating the FCanvasTileItem).
Thank you in advance.