Module |
|
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
(
TArray< UActorComponent * > & OutPastedComponents,
AActor * TargetActor,
USceneComponent * TargetComponent
)
Attempts to paste components from the clipboard as siblings of the target component
Parameter |
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. |