UWidgetBlueprintGeneratedClass::InitializeWidget

This is the function that makes UMG work.

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss