Resize window event ?

Hello.

Is there a UE4 equivalent to a Resize Window event ? I thought that the AHUD class would provide one, but I guess I’m wrong …

1 Like

All stuff related to IO and Windows is managed by viewport, which you can control from UGameViewportClient which you can replace same as AGameMode. So you can detect events via overriding it’s functions, but i can’t see anything realrted to size, the one you be interested in most likely be SetDisplayConfiguration()

But if you use DrawHUD event you can just read viewport size every time you draw the HUD

1 Like