UWidgetComponent::GetWidgetClass

Returns the class of the user widget displayed by this component

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/WidgetComponent.h

Include

#include "Components/WidgetComponent.h"

Syntax

TSubclassOf< UUserWidget > GetWidgetClass() const

Remarks

Returns the class of the user widget displayed by this component

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