Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
Include |
#include "Editor/EditorEngine.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp |
void ReplaceActors
(
UActorFactory * Factory,
const FAssetData & AssetData,
const TArray< AActor * > & ActorsToReplace
)
Replaces specified Actors with the same number of a different kind of Actor using the specified factory to spawn the new Actors note that only Location, Rotation, Drawscale, Drawscale3D, Tag, and Group are copied from the old Actors
Parameter |
Description |
---|---|
Factory |
the Factory to use to create Actors |