FBlueprintCompileReinstancer::ReplaceInstancesOfClass

Worker function to replace all instances of OldClass with a new instance of NewClass

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 ReplaceInstancesOfClass
(
    UClass * OldClass,
    UClass * NewClass,
    UObject * OriginalCDO,
    TSet< UObject * > * ObjectsThatShouldUseOldStuff,
    bool bClassObjectReplaced,
    bool bPreserveRootComponent
)

Remarks

Worker function to replace all instances of OldClass with a new instance of NewClass

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