Navigation
API > API/Editor > API/Editor/UMGEditor > API/Editor/UMGEditor/FWidgetBlueprintEditorUtils
| Name | EReplaceWidgetNamingMethod |
| Type | enum |
| Header File | /Engine/Source/Editor/UMGEditor/Public/WidgetBlueprintEditorUtils.h |
| Include Path | #include "WidgetBlueprintEditorUtils.h" |
Syntax
enum EReplaceWidgetNamingMethod
{
MaintainNameAndReferences,
MaintainNameAndReferencesForUnmatchingClass,
UseNewGeneratedName,
}
Values
| Name | Remarks |
|---|---|
| MaintainNameAndReferences | Will give the new widget the same name as the replaced widget if the widget classes are compatible If it's using a generated name, the new generated name will be used and FBlueprintEditorUtils::ReplaceVariableReferences will be called |
| MaintainNameAndReferencesForUnmatchingClass | Same as MaintainNameAndReferences but doesn't check for matching classes or generated names. |
| UseNewGeneratedName | Will use the new widget's generated name and not make an effort to maintain references. |