Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint
Inheritance Hierarchy
- UBlueprintGeneratedClass
- UWidgetBlueprintGeneratedClass
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintGeneratedClass.h |
| Include | #include "Blueprint/WidgetBlueprintGeneratedClass.h" |
Syntax
UCLASS (MinimalAPI)
class UWidgetBlueprintGeneratedClass : public UBlueprintGeneratedClass
Remarks
The widget blueprint generated class allows us to create blueprint-able widgets for UMG at runtime. All WBPGC's are of UUserWidget classes, and they perform special post initialization using this class to give themselves many of the same capabilities as AActor blueprints, like dynamic delegate binding for widgets.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TObjectPtr< UWidgetAnimation > > | Animations | ||
| TArray< FName > | AvailableNamedSlots | Available Named Slots for content in a subclass. | |
| uint32: 1 | bCanCallInitializedWithoutPlayerContext | Determines whether this widget blueprint can be initialized without a valid player context (PlayerController, etc.). | |
| uint32: 1 | bCanCallPreConstruct | ||
| TArray< FDelegateRuntimeBinding > | Bindings | ||
| TArray< FName > | InstanceNamedSlots | These are the set of named slots that can be used on an instance of the widget. | |
| TSet< FName > | NameClashingInHierarchy | ||
| TArray< FName > | NamedSlots | All named slots, even the ones that have content already filled into them by a parent class and are not available for extension. | |
| TSet< FName > | NamedSlotsWithContentInSameTree | ||
| TMap< FName, FGuid > | NamedSlotsWithID | All named slots mapped the assigned GUID of their UNamedSlot widget. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| void | CollectSaveOverrides
(
FObjectCollectSaveOverridesContext SaveContext |
||
| UWidgetBlueprintGeneratedClass * | Walks up the hierarchy looking for a valid widget tree. | ||
| void | ForEachExtension
(
Predicate Pred, |
||
| void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
||
| void | GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
||
| ExtensionType * | GetExtension
(
bool bIncludeSuper |
Find the first extension of the requested type. | |
| UWidgetBlueprintGeneratedClassExtension * | GetExtension
(
TSubclassOf< UWidgetBlueprintGeneratedClassExtension > InExtensionType, |
Find the first extension of the requested type. | |
| TArray< UWidgetBlueprintGeneratedClassExtension * > | GetExtensions
(
TSubclassOf< UWidgetBlueprintGeneratedClassExtension > InExtensionType, |
Find the extensions of the requested type. | |
| void | GetNamedSlotArchetypeContent
(
TFunctionRef< void(FName, UWidget*)> Predicate |
||
| UWidgetTree * | |||
| void | InitializeWidget
(
UUserWidget* UserWidget |
This is the function that makes UMG work. | |
| void | InitializeWidgetStatic
(
UUserWidget* UserWidget, |
||
| bool | |||
| void | PostLoad () |
||
| void | PurgeClass
(
bool bRecompilingOnLoad |
||
| void | Serialize
(
FArchive& Ar |
||
| void | SetClassRequiresNativeTick
(
bool InClassRequiresNativeTick |
||
| void | SetWidgetTreeArchetype
(
UWidgetTree* InWidgetTree |