UMaterialGraphNode::PostDuplicate

Called after duplication & serialization and before PostLoad.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UObject::PostDuplicate()

UMaterialGraphNode::PostDuplicate()

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraphNode.h

Include

#include "MaterialGraph/MaterialGraphNode.h"

Source

/Engine/Source/Editor/UnrealEd/Private/MaterialGraphNode.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.