Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UUnrealEdEngine
Description
Duplicates selected actors. Handles the case where you are trying to duplicate PrefabInstance actors.
Final - Override DuplicateComponents or DuplicateActors instead.
Virtual Inheritance
- UEditorEngine::edactDuplicateSelected → UUnrealEdEngine::edactDuplicateSelected
| Name | edactDuplicateSelected |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Editor/UnrealEdEngine.h |
| Include Path | #include "Editor/UnrealEdEngine.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorActor.cpp |
virtual void edactDuplicateSelected
(
ULevel * InLevel,
bool bOffsetLocations
)
Parameters
| Name | Remarks |
|---|---|
| InLevel | Level to place duplicate |
| bOffsetLocations | Should the actor locations be offset after they are created? |