UContentBrowserAssetDataSource::DuplicateItem

Attempt to begin the process of asynchronously duplicating the given item, populating a temporary item that can be finalized or canceled by the user.

Windows
MacOS
Linux

Override Hierarchy

UContentBrowserDataSource::DuplicateItem()

UContentBrowserAssetDataSource::DuplicateItem()

References

Module

ContentBrowserAssetDataSource

Header

/Engine/Plugins/Editor/ContentBrowser/ContentBrowserAssetDataSource/Source/ContentBrowserAssetDataSource/Public/ContentBrowserAssetDataSource.h

Include

#include "ContentBrowserAssetDataSource.h"

Source

/Engine/Plugins/Editor/ContentBrowser/ContentBrowserAssetDataSource/Source/ContentBrowserAssetDataSource/Private/ContentBrowserAssetDataSource.cpp

Syntax

virtual bool DuplicateItem
(
    const FContentBrowserItemData & InItem,
    FContentBrowserItemDataTemporaryContext & OutPendingItem
)

Remarks

Attempt to begin the process of asynchronously duplicating the given item, populating a temporary item that can be finalized or canceled by the user. @note This duplicates the item at its current path and assigns it a default unique name.

Returns

True if the pending item was created, false otherwise.

Parameters

Parameter

Description

InItem

The item to duplicate.

OutPendingItem

Temporary item context to fill with information about the pending duplicated item.

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