ULandscapeComponent::PostDuplicate

Called after duplication & serialization and before PostLoad.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UObject::PostDuplicate()

UPrimitiveComponent::PostDuplicate()

ULandscapeComponent::PostDuplicate()

References

Module

Landscape

Header

/Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h

Include

#include "LandscapeComponent.h"

Source

/Engine/Source/Runtime/Landscape/Private/Landscape.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.