FComponentEditorUtils::CanPasteComponents

Determines whether the current contents of the clipboard contain paste-able component information

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 bool CanPasteComponents
(
    USceneComponent * RootComponent,
    bool bOverrideCanAttach,
    bool bPasteAsArchetypes
)

Remarks

Determines whether the current contents of the clipboard contain paste-able component information

Returns

Whether components can be pasted

Parameters

Parameter

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

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