Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Kismet2 > API/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 bool CanPasteComponents
&40;
const USceneComponent &42; RootComponent,
bool bOverrideCanAttach,
bool bPasteAsArchetypes,
const FString &42; SourceData
&41;
Remarks
Determines whether the current contents of the clipboard contain paste-able component information Whether components can be pasted
Parameters
| Name | Description |
|---|---|
| RootComponent | The root component of the actor being pasted on |
| bOverrideCanAttach | Optional override declaring that components can be attached and a check is not needed |
| SourceData | Component data to paste, or null to use the clipboard |