Connect C++ to UMG Blueprints with BindWidget
How to control logic from C++ and configure visuals in Blueprints.