I need something that fires an onViewportResized callback and the only thing I’ve found is a c++ FViewport::ViewportResizedEvent callback. My project is BP only, is there a way to access this?
If not, how can one hack a function like this together? I’ve seen some answers mentioning the HUD class’ DrawHUD event - but that fires on every tick and is not quite what I’d want. Seems inefficient.
There must be a good way to deal with this, for games on windows e.g people would resize quite a lot I’d imagine. Please let me know I’ve missed something.
Thanks.