UWidgetBlueprintGeneratedClass::InitializeWidget

This is the function that makes UMG work.

Choose your operating system:

Windows

macOS

Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintGeneratedClass.h

Include

#include "Blueprint/WidgetBlueprintGeneratedClass.h"

Source

/Engine/Source/Runtime/UMG/Private/WidgetBlueprintGeneratedClass.cpp

Syntax

void InitializeWidget
(
    UUserWidget * UserWidget
) const

Remarks

This is the function that makes UMG work. Once a user widget is constructed, it will post load call into its generated class and ask to be initialized. The class will perform all the delegate binding and wiring necessary to have the user's widget perform as desired.