FBlueprintCompileReinstancer::CopyPropertiesForUnrelatedObjects

Attempts to copy as many properties as possible from the old object to the new.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Kismet2/KismetReinstanceUtilities.h

Include

#include "Kismet2/KismetReinstanceUtilities.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Kismet2/KismetReinstanceUtilities.cpp

Syntax

static void CopyPropertiesForUnrelatedObjects
(
    UObject * OldObject,
    UObject * NewObject,
    bool bClearExternalReferences,
    bool bForceDeltaSerialization
)

Remarks

Attempts to copy as many properties as possible from the old object to the new. Use during BP compilation to copy properties from the old CDO to the new one.

Parameters

Parameter

Description

OldObject

The old object to copy properties from

NewObject

The new Object to copy properties to

bClearExternalReferences

If true then attempt to replace references to old classes and instances on this object with the corresponding new ones

bForceDeltaSerialization

If true the delta serialization will be used when copying

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss