/Engine/Source/Editor/UnrealEd/Classes/Editor/UnrealEdEngine.h
Replaces the specified actor with a new actor of the specified class. The new actor will be selected if the current actor was selected.
The new actor.
virtual [AActor](API\Runtime\Engine\GameFramework\AActor) * ReplaceActor ( [AActor](API\Runtime\Engine\GameFramework\AActor) * CurrentActor, [UClass](API\Runtime\CoreUObject\UObject\UClass) * NewActorClass, [UObject](API\Runtime\CoreUObject\UObject\UObject) * Archetype, bool bNoteSelectionChange )