Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > Kismet2 > FComponentEditorUtils
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/Kismet2/ComponentEditorUtils.h |
Include | #include "Kismet2/ComponentEditorUtils.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/Kismet2/ComponentEditorUtils.cpp |
static void PasteComponents
&40;
TArray< UActorComponent &42; > & OutPastedComponents,
AActor &42; TargetActor,
USceneComponent &42; TargetComponent,
const FString &42; SourceData
&41;
Remarks
Attempts to paste components from the clipboard as siblings of the target component
Parameters
Name | Description |
---|---|
OutPastedComponents | List of all the components that were pasted |
TargetActor | The actor to attach the pasted components to |
TargetComponent | The component the paste is targeting (will attempt to paste components as siblings). If null, will attach pasted components to the root. |
SourceData | Component data to paste, or null to use the clipboard |