FComponentEditorUtils::PasteComponents

Attempts to paste components from the clipboard as siblings of the target component

Windows
MacOS
Linux

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

Syntax

static void PasteComponents
(
    TArray< UActorComponent * > & OutPastedComponents,
    AActor * TargetActor,
    USceneComponent * TargetComponent
)

Remarks

Attempts to paste components from the clipboard as siblings of the target component

Parameters

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss