Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UTypedElementCommonActions
Description
Duplicate any elements from the given selection set that can be duplicated.
Internally this just calls DuplicateNormalizedElements on the result of UTypedElementSelectionSet::GetNormalizedSelection.
| Name | K2_DuplicateSelectedElements |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Elements/Framework/TypedElementCommonActions.h |
| Include Path | #include "Elements/Framework/TypedElementCommonActions.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Elements/Framework/TypedElementCommonActions.cpp |
UFUNCTION (BlueprintCallable, DisplayName="Duplicate Selected Elements",
Category="TypedElementFramework|Common", Meta=(ScriptName="DuplicateSelectedElements"))
TArray < FScriptTypedElementHandle > K2_DuplicateSelectedElements
(
const UTypedElementSelectionSet * SelectionSet,
UWorld * World,
const FVector & LocationOffset
)