UWidgetBlueprint::PostDuplicate

Called after duplication & serialization and before PostLoad.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UObject::PostDuplicate()

UBlueprint::PostDuplicate()

UWidgetBlueprint::PostDuplicate()

References

Module

UMGEditor

Header

/Engine/Source/Editor/UMGEditor/Public/WidgetBlueprint.h

Include

#include "WidgetBlueprint.h"

Source

/Engine/Source/Editor/UMGEditor/Private/WidgetBlueprint.cpp

Syntax

virtual void PostDuplicate
(
    bool bDuplicateForPIE
)

Remarks

Called after duplication & serialization and before PostLoad. Used to e.g. make sure UStaticMesh's UModel gets copied as well.

NOT called on components on actor duplication (alt-drag or copy-paste). Use PostEditImport as well to cover that case.