Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorActorSubsystem
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
AActor * DuplicateActor
(
AActor* ActorToDuplicate, |
Duplicate an actor from the world editor. | Subsystems/EditorActorSubsystem.h |
|
AActor * DuplicateActor
(
AActor* ActorToDuplicate, |
Subsystems/EditorActorSubsystem.h |
|
DuplicateActor(AActor , UWorld , FVector)
Description
Duplicate an actor from the world editor.
| Name | DuplicateActor |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Subsystems/EditorActorSubsystem.h |
| Include Path | #include "Subsystems/EditorActorSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Subsystems/EditorActorSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Level Utility",
Meta=(AdvancedDisplay=1))
AActor * DuplicateActor
(
AActor * ActorToDuplicate,
UWorld * ToWorld,
FVector Offset
)
The duplicated actor, or none if it didn't succeed
Parameters
| Name | Remarks |
|---|---|
| ActorToDuplicate | Actor to duplicate. |
| ToWorld | World to place the duplicated actor in. |
| Offset | Translation to offset duplicated actor by. |
DuplicateActor(AActor , UWorld , FVector, const FActorDuplicateParameters &)
| Name | DuplicateActor |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Subsystems/EditorActorSubsystem.h |
| Include Path | #include "Subsystems/EditorActorSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Subsystems/EditorActorSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Level Utility",
Meta=(AdvancedDisplay=1))
AActor * DuplicateActor
(
AActor * ActorToDuplicate,
UWorld * ToWorld,
FVector Offset,
const FActorDuplicateParameters & DuplicateParams
)